wakati iliyopita, Niliandika makala kwa SharePoint Briefing (www.sharepointbriefing.com) kwamba inaelezea jinsi ya kujenga picha katika rotator SharePoint. Hapa ni teaser:
Kusoma makala nzima hapa: http://sharepointbriefing.com/spcode/article.php/3861121/Create-an-Image-Rotator-in-SharePoint-Using-jQuery.htm
</mwisho>
Kufuata yangu juu ya Twitter kwa http://www.twitter.com/pagalvin
Paulo,
Sasa kwa kuwa umefanya wamehamia blog yako, I finally get a chance to comment on this post 😉
jQuery ni rahisi kwamba ni kumjaribu na overuse ni, na ni kesi katika post yako. Mimi kusoma:
$(“#CatImage”).attr(“src”,”/jQuery / Cat% 20Pictures/cat0″ + i + “.jpg”);
“Kwamba moja line inawakilisha kadhaa ya kazi kubwa ya wazi-zamani mistari kanuni JavaScript”
Kweli, hapa ni sawa katika JavaScript wazi:
document.getElementById(“CatImage”).src =”/jQuery / Cat% 20Pictures/cat0″ + i + “.jpg”;
Ndiyo, mstari mmoja pia, na hakuna utegemezi kwa maktaba ya nje.
Kumbuka kwamba mimi kutumia jQuery mwenyewe kujenga rotators picha, lakini kwa sababu mbalimbali:
– uwezo wa kuvuta orodha ya URL picha kwa kutumia msalaba-browser AJAX
– mpito madhara kati ya picha
Kama rejea:
– demo ya rotators jQuery:
http://www.pathtosharepoint.com/Pages/Animations.aspx
– JavaScript yangu wazi rotator wajenzi:
http://www.pathtosharepoint.com/sharepoint-user-toolkit/Pages/Image-Rotator-Lite.aspx
Christophe,
Shukrani! Hiyo ni hatua kubwa na mimi kufahamu marejeo.
Tatizo tu ni kwamba i na kuongeza sawa mfano jina kama paka unaweza kutoa na soution bora