¡@

Home 

javascript Programming Glossary: swapimages

jQueryReplacing images at time intervals

http://stackoverflow.com/questions/8366684/jqueryreplacing-images-at-time-intervals

i'm trying to cycle though them using this code function swapImages var active '#myGallery .active' var next '#myGallery .active'.. .addClass 'active' document .ready function setInterval 'swapImages ' 1000 Html div id myGallery img src br_xmas_1.png class active.. image share improve this question Try this function swapImages var current '#myGallery img visible' var next current.next if..