Results 1 to 4 of 4

Thread: Conveyor Belt slideshow script

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt slideshow script

    1) Script Title: Conveyor Belt slideshow script


    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem: Hi - I have been using the conveyor belt sideshow script for a while now and think it is fantastic - but was wondering how/where I can change the border colouring at the moment the borders around the pictures are blue but I would like to change them to white

    Thanks in advance

    Richard

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Actually, the script did'nt set any color for the border. That's the browser's default (that you are seeing) when an image is linked. Luckily, you can set a color via CSS.

    Find this part in the script (border is a deprecated attribute):
    Code:
    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>'
    Change it to:
    Code:
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" style="border:1px solid #fff;"></a>'
    leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" style="border:1px solid #fff;"></a>'
    leftrightslide[2]='<a href="http://"><img src="dynamicbook3.gif" style="border:1px solid #fff;"></a>'
    leftrightslide[3]='<a href="http://"><img src="dynamicbook4.gif" style="border:1px solid #fff;"></a>'
    leftrightslide[4]='<a href="http://"><img src="dynamicbook5.gif" style="border:1px solid #fff;"></a>'
    Also, note that your page, without an alt attribute won't validate.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi Rangana

    Thanks for that it works perfectly

    Much appreciated

    Richard

  4. #4
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello

    I hope it's okay to post my question here, 'coz it's about the same script:

    I would like to have my slideshow only shown once and not on "repeat". Is there a way to tell the script to stop at or after the last picture? If so, then how?

    Thanks,
    Anh

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
  •