PDA

View Full Version : DropIn SlideShow with hyperlinks



islandhop
03-29-2005, 07:35 PM
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.

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

jazgirl
10-05-2005, 06:18 AM
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.