Results 1 to 5 of 5

Thread: Conveyor Belt Slide show...Images are stretched

  1. #1
    Join Date
    May 2012
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt Slide show...Images are stretched

    1) Script Title: Conveyor Belt Slide show

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.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

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    try specifying the images width and height using style

    Code:
    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>'
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    May 2012
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok will give it a try and report back. Thanks Ponder

  4. #4
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Default

    Looks fine in ff 12.0
    Thanks,

    Bud

  5. #5
    Join Date
    May 2012
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Looks like using "Style" is the way to go....easy fit of the images....

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •