Buat Turun Imej di SharePoint Menggunakan jQuery

Manakala yang lalu, Saya menulis satu artikel untuk SharePoint Taklimat (www.sharepointbriefing.com) yang menerangkan bagaimana untuk mewujudkan pemutar imej dalam SharePoint. Berikut adalah penggoda:

image

Baca artikel keseluruhan di sini: http://sharepointbriefing.com/spcode/article.php/3861121/Create-an-Image-Rotator-in-SharePoint-Using-jQuery.htm

</akhir>

Langgan ke blog saya.

Mengikuti aku di Twitter http://www.twitter.com/pagalvin

3 pemikiran untuk "Buat Turun Imej di SharePoint Menggunakan jQuery

  1. Christophe

    Paul,

    Now that you’ve migrated your blog, I finally get a chance to comment on this post 😉

    jQuery is so easy that it is tempting to overuse it, and it is the case in your post. Saya membaca:
    $(“#CatImage”).attr(“JPP”,”/jQuery/Cat%20Pictures/cat0″ + i + “.jpg”);
    That one line represents dozens of painstaking plain-old JavaScript code lines

    Sebenarnya, here is the equivalent in plain JavaScript:
    document.getElementById(“CatImage”).src =”/jQuery/Cat%20Pictures/cat0″ + i + “.jpg”;

    Ya, one line too, and no dependency on an external library.

    Note that I use jQuery myself to build image rotators, but for different reasons:
    the ability to pull a list of image URLs using cross-browser AJAX
    transition effects between images

    As a reference:
    – demo yang menjelaskan jQuery rotators:
    http://www.pathtosharepoint.com/Pages/Animations.aspx
    – Saya biasa JavaScript cuff alat pembina:
    http://www.pathtosharepoint.com/sharepoint-user-toolkit/Pages/Image-Rotator-Lite.aspx

    Balas
  2. Zaheer

    Satu-satunya masalah adalah bahawa saya perlu menambah nama imej yang serupa seperti kucing boleh anda memberikan lebih baik soution

    Balas

Tinggalkan Jawapan kepada Paul Galvin Batal reply

alamat e-mel anda tidak akan diterbitkan. Ruangan yang diperlukan ditanda *