View Full Version : Conveyor Belt slideshow - javascript:openWind
Conveyor Belt slideshow
http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm
greetings. trying to open window (when user clicks on image) using javascript:openWind but cannot get script to work - any help would be great (oh, opening directly to jpg file, but code to htm file is the same really, so I'll take that)
thanx in advance!!
jscheuer1
05-30-2005, 06:24 AM
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>'There is no openWind unless you've defined it as a function.
rajeswaran
06-10-2005, 03:17 PM
I see that you helped someone on how to use the conveyor belt slideshow script to open a pop window via two methods. Through a _blank window as well as through a javascript openwindow. I can also see (though I'm not very knowledged in programming) that you seem to be escaping out with "\" to allow the ' character.
Now to the point. I'm seeking to use the javascript method of opening a window because I know its capable of setting size/noscroll/nostatus etc but I don't understand the proper form of integrating it within the slideshow script.
Could you kindly help by showing me a sample of opening a popupwindow to a specific size?
thank you for your time...
jscheuer1
06-10-2005, 04:20 PM
See this thread:
http://www.dynamicdrive.com/forums/showthread.php?t=3197
Let us know if you still have questions.
rajeswaran
06-10-2005, 09:47 PM
I knew I had the idea right... thank you for the reference that lead to the popup generator as well.
Much appreciated!
John: thank you so much for the detailed example.
Elle
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.