View Full Version : Use sprite sheet with Conveyor Belt slideshow script?

08-19-2013, 04:28 AM
1) Script Title: Conveyor Belt slideshow script

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

3) Describe problem: I was wondering if it was possible to use a sprite sheet for the images that are used in the conveyor belt slideshow?

08-19-2013, 06:34 AM
Sure. Why not? The only potential problem I can think of is that sprites (which are used as background, varying what is seen via the background-position property) are often shown through block level elements, and the conveyor requires that there be no line breaks in its image train. But you could set the css display property of the elements showing the sprite to inline-block.

There could be other issues. But I'm like 99% sure that, if there are any they can be worked around.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.

08-19-2013, 03:02 PM
Turns out the one thing that I was missing was inline-block. That seems to have solved the problem. Thank you so much!