View Full Version : conveyer belt
karin
04-14-2007, 04:02 PM
1) Script Title: conveyer belt slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm
3) Describe problem: Really cool slideshow! Is it possible to have a popup message on some of the pictures , when clicked?
Karin
thetestingsite
04-14-2007, 04:09 PM
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:
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>'
The above will make the first image show an alert box when the image is clicked.
Hope this helps.
jscheuer1
04-14-2007, 04:15 PM
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:
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
The only tricky parts are:
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.
karin
04-14-2007, 08:49 PM
:) thanks for the tips!!!! Popups work great! karin
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.