PDA

View Full Version : Conveyer Belt Slideshow Script



Silver Starfish
05-11-2011, 10:23 AM
1) Script Title: Conveyer Belt Slideshow Script

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

3) Describe problem: Please advice on how to add an alternate and title tag to the images.

jscheuer1
05-12-2011, 05:20 AM
It's almost exactly like you can do with ordinary HTML. Here:


//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" border=1></a>'
leftrightslide[2]='<a href="http://"><img src="dynamicbook3.gif" border=1></a>'
leftrightslide[3]='<a href="http://"><img src="dynamicbook4.gif" border=1></a>'
leftrightslide[4]='<a href="http://"><img src="dynamicbook5.gif" border=1></a>'

Let's take just the first one, you can do:


leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" alt="Dynamic HTML Book Image" title="Dynamic HTML" border=1></a>'