Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var ImagesSrc =
- [
- 'http://ljdchost.com/JAvGglZ.gif',
- 'http://ljdchost.com/9zELJe1.gif',
- 'http://ljdchost.com/nFBMTUC.gif'
- ];
- function slider(images, idStep)
- {
- var total_img = images.length;
- var current_img = idStep % total_img;
- var Isrc = images[current_img];
- document.getElementsByName("image")[0].src = Isrc;
- if(idStep <= (total_img * 3))
- setTimeout(slider, 2500, images, (idStep + 1));
- }
- slider(ImagesSrc, 0);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement