View Full Version : conveyor belt slideshow

07-04-2005, 09:59 AM
hello, i have recently used the script to create the conveyor belt slide show in my site, it works great, however i would like the selected image to be opened in a new window and do not know how to do this as i would normally used the 'behaviors' option to 'open browser window' but the images are only in the code view and not the design view, so alittle stuck. Any suggestions?


07-04-2005, 10:11 AM
You really have to edit the script with a text editor, here are some instructions from a previous post:

The way this script is set up, using the target="_blank" would be easier (from the demo code, changes in red):
leftrightslide[0]='<a href="http://" target="_blank"><img src="dynamicbook1.gif" border=1></a>'but, you could use:
leftrightslide[0]='<a href="#" onclick="javascript:window.open(\'http://\');return false"><img src="dynamicbook1.gif" border=1></a>'Even more details can be found here:


07-04-2005, 10:23 AM
thanks, the first option didnt work but the second might, just alittle confused.

My line is:
leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm"><img src="adam0tn.jpg" border=1></a>'

and the new is:

leftrightslide[0]='<a href="#" onclick="javascript:window.open(\'http://\');return false"><img src="dynamicbook1.gif" border=1></a>'

what does '#' mean? so i just put my image page after "javascript:window.open(


i always get this bit wrong!

07-04-2005, 10:57 AM
This didn't work?
leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm" target="_blank"><img src="adam0tn.jpg" border=1></a>'Give this a shot too:
leftrightslide[0]='<a href="http://www.criterion.pwp.blueyonder.co.uk/adam01.htm" onclick="window.open(this.href);return false"><img src="adam0tn.jpg" border=1></a>'

07-04-2005, 11:14 AM
got it working now mate, thanks very much.