View Full Version : pop up window script plzzz
Weapon
September 16th, 2001, 00:53
Can someone tell me a script where you click a link then a window pop up, a simple one would do but it must be customizable eg. toolbars on/off, address bar on/off, status bar on/off, etc..... and also allows multiple ones to be opened.
Mekhu
September 16th, 2001, 03:16
http://www.dynamicdrive.com/dynamicindex8/popwin.htm
Here's what you want.
Mekhu
Weapon
September 16th, 2001, 06:27
thanks bro owe you one ;D
Weapon
September 17th, 2001, 06:34
oh and how do I put this in a .js file? you see I have a .js file with already a script in it, but I know you have to remove the <script> & </script> tag but what happens if you have 2 scripts in the file? how do you seperate them?
LeX
September 17th, 2001, 07:15
Just seperate the different scripts into 2 files, then place this code on your page:
<SCRIPT src="script1.js"></SCRIPT>
<SCRIPT src="script2.js"></SCRIPT>
meow
September 17th, 2001, 16:28
Why would that be needed? Seems like overkill to me.
Weapon
September 17th, 2001, 23:46
I remember it was something like /-- ?..... but anyways can someone confirm? and why would I want to add another line to my page when it is not needed?
meow
September 18th, 2001, 00:05
I'm no JavaScripter but I don't think you need a separator. Nor do I know if such a thing exists. You call a function from the HTML and that function will (hopefully) be run and nothing else. Just add your ----. :biggrin2:
"/" is probaly part of a comment .
//for a single line
/*for
multiple
lines*/
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.