jquery Programming Glossary: curindex
jQuery/Ajax : image slider http://stackoverflow.com/questions/7252497/jquery-ajax-image-slider img_2 img_3 img_4 img_5 img_6 img_7 img_8 img_9 img_10 curIndex 0 gotoImage function index '#images div' .each function i .. function index '#images div' .each function i var image curIndex i if image images.length image image images.length this.. src ' images image '.jpg ' '.prev' .click function e curIndex if curIndex 1 curIndex images.length 1 gotoImage curIndex..
jQuery/Ajax : image slider http://stackoverflow.com/questions/7252497/jquery-ajax-image-slider images but you could use anything. function var images img_1 img_2 img_3 img_4 img_5 img_6 img_7 img_8 img_9 img_10 curIndex 0 gotoImage function index '#images div' .each function i var image curIndex i if image images.length image image images.length.. img_5 img_6 img_7 img_8 img_9 img_10 curIndex 0 gotoImage function index '#images div' .each function i var image curIndex i if image images.length image image images.length this .html images image Use something like this to show images instead.. like this to show images instead of text this .html ' img src ' images image '.jpg ' '.prev' .click function e curIndex if curIndex 1 curIndex images.length 1 gotoImage curIndex '.next' .click function e curIndex if curIndex images.length..
|