Создаде слика активности низ фотографии во SharePoint Користејќи Jquery

Пред некое време, Напишав статија за SharePoint Брифинг (www.sharepointbriefing.com) кој го опишува како да се создаде слика ротатор во SharePoint. Тука е закачка:

image

Прочитајте го целиот напис тука: http://sharepointbriefing.com/spcode/article.php/3861121/Create-an-Image-Rotator-in-SharePoint-Using-jQuery.htm

</крајот>

Да се ​​претплатите на мојот блог.

Следете ме на Twitter во http://www.twitter.com/pagalvin

3 размислувања за "Создаде слика активности низ фотографии во SharePoint Користејќи Jquery

  1. Кристоф

    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. I read:
    $(“#CatImage”).attr(“src”,”/jQuery/Cat%20Pictures/cat0″ + i + “.jpg”);
    That one line represents dozens of painstaking plain-old JavaScript code lines

    Всушност, here is the equivalent in plain JavaScript:
    document.getElementById(“CatImage”).src =”/jQuery/Cat%20Pictures/cat0″ + i + “.jpg”;

    Да, 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:
    a demo of jQuery rotators:
    http://www.pathtosharepoint.com/Pages/Animations.aspx
    – my plain JavaScript rotator builder:
    http://www.pathtosharepoint.com/sharepoint-user-toolkit/Pages/Image-Rotator-Lite.aspx

Остави Одговори на Пол Галвин Откажи одговор

Вашата е-маил адреса нема да бидат објавени. Задолжителни полиња се означени *