1) Script Title: conveyer belt slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm
3) Describe problem: Really cool slideshow! Is it possible to have a popup message on some of the pictures , when clicked?
Karin
1) Script Title: conveyer belt slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm
3) Describe problem: Really cool slideshow! Is it possible to have a popup message on some of the pictures , when clicked?
Karin
A popup message? Do you mean an alert box with a message in it, or something else? If the first, simply put this in the array where you define the images:
The above will make the first image show an alert box when the image is clicked.Code:leftrightslide[0]='<a href="#" onclick="alert(\'This is my message\'); return false;"><img src="dynamicbook1.gif" border=1></a>' leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" border=1></a>'
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Yes, just choose a pop message script, install it on the page, and insert its HTML code for the pop up trigger here (and similar, as desired) in the conveyor script:
The only tricky parts are:Code:leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
- If the pop up trigger code uses single quotes (') the must be escaped (\').
- And, possible script conflicts. Choose a pop up script and I can tell you if there will be a script conflict and if so, how to avoid it.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
thanks for the tips!!!! Popups work great! karin
Bookmarks