PDA

View Full Version : Conveyor Belt Slide show...Images are stretched



Ponder
05-05-2012, 12:49 PM
1) Script Title: Conveyor Belt Slide show

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

3) Describe problem: Images are stretched and distored left to right...up and down is OK...

See it here.... http://pondexpo.com/pondexp

Any help is much appreciated....thanks..

Ponder

vwphillips
05-05-2012, 01:38 PM
try specifying the images width and height using style


var finalslide=''
leftrightslide[0]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_challenger.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[1]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/pp123.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[2]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_superflo.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[3]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_waterway.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[4]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_evolution_ess.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[5]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_pentair.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[6]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_unions.jpg" border=0 style="width:120px;height:100px;"></a>'
leftrightslide[7]='<a href="http://"><img src="http://pondexpo.com/pondexp/p_images/tn_jandy.jpg" border=0 style="width:120px;height:100px;"></a>'

Ponder
05-05-2012, 03:07 PM
Ok will give it a try and report back. Thanks Ponder

ajfmrf
05-05-2012, 05:02 PM
Looks fine in ff 12.0

Ponder
05-06-2012, 04:39 PM
Looks like using "Style" is the way to go....easy fit of the images....

Many thanks for helping me to VWphillips and to Ajfmrf....