I have an images slideshow on one page of a website i've been developing for someone, yet on another the same code will not run.
Can anybody assist with the issue. The code can be found in the following places:
(working): www.theperfectpic.co.uk/productlist.php
(not working): www.theperfectpic.co.uk
Thanks for any help
I compared two sources and noticed that you are missing an initial call in the second one:
first one:
...
fantasystep=1
//call function "slideit3()" every 2.5 seconds
setTimeout("slideit3()",2500)
}
setTimeout("slideit3()",2000)
second one:
...
homestep=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
// you are missing "setTimeout("slideit()",2500)" here
SUggestions:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.