View Full Version : Conveyor belt slideshow

02-27-2009, 03:28 AM
1) Script Title: Conveyor belt slideshow

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

3) Describe problem: the slideshow starts from the middle of the page and everytime the slide is done it starts back from the middle of the page again. how do i set it to get it keep going?

02-27-2009, 05:19 AM
It starts where? Um, if you look at the actual demo page (where the code has been updated from the developer view page you linked to, but that isn't important as far as this issue goes), I think not:


Anyways, what you are describing sounds like you are using the script on a page that is using the align="center" attribute, and/or text-align:center; style, and/or the <center> tag in inappropriate ways visa vis this script and most versions of the IE browser which inherits centering in nonstandard ways.

You can center many elements more appropriately using the margin: 0 auto; style under a valid URL DOCTYPE, or you can ensure that the immediate container of the conveyor has the align="left" attribute or the text-align: left; style.

But from what little information you give, it might be something else.

If you want more help:

Please post a link to the page on your site that contains the problematic code so we can check it out.

03-20-2009, 04:48 PM
I think I have the same issue. What happens is that when the image in the middle of the array leaves the scroller on the left, the remaining images immediately disappear. This doesn't break the scroll however. It only happens in IE7. In FF it works fine.

I was inter-mixing JS to create the image array from my directory so to rule out my modifications as the issue I uploaded the script as is on its own page with nothing else. Still continues to happen.

Here is my script on our homepage:

Here it is by itself:

Suggestions anyone;


03-21-2009, 12:11 PM
You do have the same problem, and another one. You should use align left for the table cell:

<td height="150" align="left"><script type="text/javascript">
* Conveyor belt slideshow script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice . . .

The other problem is that there aren't enough images, so the conveyor runs out before it can repeat.

03-21-2009, 12:51 PM
Thanks so much John, the changes worked great. I had to use some temp pics to test it but I will have more real ones coming soon.