jquery - Understanding curtain.js -
i've been trying understand how use jquery plugin curtain.js (https://github.com/victa/curtain.js).
i've tried follow instructions, must doing wrong because can't work.
maybe problem else, jquery wrote is:
$(function () { $('.curtains').curtain({ scrollspeed: 400 }); });
i've made fiddle can see code have now. fiddle here: http://jsfiddle.net/nvggw/1/
any welcome. thank you!
i think doing ok, doesnt work latest version of jquery, works ok jquery 1.7.2, i've changed fiddle , included copy of plugin in js window:
http://jsfiddle.net/jamesking/nvggw/3/
<ol class="curtains"> <li id="one" class="sectionone"> <h1>section one</h1> </li><!-- end #sectionone --> <li id="two" class="sectiontwo"> <h1>section two</h1> </li><!-- end #sectiontwo --> <li id="three" class="sectionthree"> <h1>section three</h1> </li><!-- end #sectionthree --> <li id="four" class="sectionfour"> <h1>section four</h1> </li><!-- end #sectionfour --> </ol>
Comments
Post a Comment