¡@

Home 

2014/10/16 ¤W¤È 12:02:45

jquery Programming Glossary: currimg

jQuery GIF Animations

http://stackoverflow.com/questions/1628576/jquery-gif-animations

.fn.rotator function delay child set curImage val var currImg 0 var currIt true set array of images var ss '#slideshow' .children.. var ssize ss.size setInterval function if currIt ss currImg .css 'opacity' '1' currIt currIt else if currIt ss currImg.. .css 'opacity' '1' currIt currIt else if currIt ss currImg .css 'opacity' '0' ss currImg 1 .css 'opacity' '1' currIt..

jQuery GIF Animations

http://stackoverflow.com/questions/1628576/jquery-gif-animations

img src images 2.png img src images 3.png div Plugin function .fn.rotator function delay child set curImage val var currImg 0 var currIt true set array of images var ss '#slideshow' .children child var ssize ss.size setInterval function if currIt.. true set array of images var ss '#slideshow' .children child var ssize ss.size setInterval function if currIt ss currImg .css 'opacity' '1' currIt currIt else if currIt ss currImg .css 'opacity' '0' ss currImg 1 .css 'opacity' '1' currIt.. var ssize ss.size setInterval function if currIt ss currImg .css 'opacity' '1' currIt currIt else if currIt ss currImg .css 'opacity' '0' ss currImg 1 .css 'opacity' '1' currIt currIt currImg reset if currImg ssize currImg 0 ss currImg..