Results 1 to 5 of 5

Thread: Conveyor Belt slideshow script Help

  1. #1
    Join Date
    Mar 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor Belt slideshow script Help

    1) Script Title: Conveyor Belt slideshow script

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

    3) Describe problem: How can you add a link to this image in this script?

    HTML Code:
    //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>'

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Code:
    //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>'
    Change the highlighted to your URLs.
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2008
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey thanks nile but it is not working please check if this code below is right?
    HTML Code:
    leftrightslide[0]='<a href="<a href="../Team Profiles/Connor Dobbin.html"></a>"><img src="../../images/Team page pictures/Connor Dobbin/Connor 1 Thumb.gif/a>

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    No, the location. You put the whole link(<a href>). You only put the location.
    Jeremy | jfein.net

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This has 'garbage' (highlighted red) in it, and is missing a character at the end:

    Code:
    leftrightslide[0]='<a href="<a href="../Team Profiles/Connor Dobbin.html"></a>"><img src="../../images/Team page pictures/Connor Dobbin/Connor 1 Thumb.gif/a>
    but would otherwise be fine if the path to the file is correct. Use this instead:

    Code:
    leftrightslide[0]='<a href="../Team Profiles/Connor Dobbin.html"><img src="../../images/Team page pictures/Connor Dobbin/Connor 1 Thumb.gif</a>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •