Results 1 to 3 of 3

Thread: DropIn SlideShow with hyperlinks

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

    Cool DropIn SlideShow with hyperlinks

    Since it's possible to add hyperlinks to each image in the slideshow, it must also be possible to have the link URL open in a new browser window. What do I need to add to the script for this to happen? For each link, or only once for all? THANKS.

  2. #2
    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

    The way this script is written it is easier to do this for all links, here we go, change:
    Code:
    tempobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
    to:
    Code:
    tempobj.innerHTML='<a href="'+droplinks[curimageindex]+'" target=_blank><img src="'+dropimages[curimageindex]+'" border=0></a>'
    and this:
    Code:
    crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
    to:
    Code:
    crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'" target=_blank><img src="'+dropimages[curimageindex]+'" border=0></a>'
    and this:
    Code:
    window.location=droplinks[linkindex]
    to:
    Code:
    window.open(droplinks[linkindex])

  3. #3
    Join Date
    Oct 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello.

    I have a question. Is it possible, instead of the images sliding downward the images will be sliding from left to right? How do I do that? Please respond. Thank you.

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
  •