View Full Version : Please help with running multiple Left-Right Image Slideshows

01-19-2009, 10:01 PM
1) Script Title: Left-Right Image Slideshow Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide2.htm

3) Describe problem:

I am attempting to run two instances of this script on one page. Not being a javascript wizz I thought the easiest was would be to put the script on two pages and then have two iframes to make it looks like the two are running on the same page. However despite the code being the same and the images being the same width the images get out of time with each other frequently. Is there any reason for this?

Also, I have noticed that it only happens on some computers. I thought that maybe it was from the two iframes loading at different times, but they often start at the same time and then gradually get more and more out of sync.

The address where they are implemented is http://www.surfnenglish.com at the top of the page behind the header layer. The two files are on http://www.surfnenglish.com/samplesurf.htm and http://www.surfnenglish.com/sampleenglish.htm .

Also I have edited the speed to make them slide faster, but as the code on both is identical I wouldn't think this is the problem.

Any help / thoughts / suggestions or explanations on this would be greatly appreciated.