View Full Version : Whats the...
summoner49
10-17-2004, 05:07 PM
Whats the code for having a popup with a specific size, and without the back buttons and stuff... how can I do that?>
voorma
11-05-2004, 11:16 AM
search at sites like: Javascriptkit.com, there must be a pop-up generator.
CannonBallGuy
11-05-2004, 12:07 PM
ok. The following will open automatically with all the toolbars and menus and stuff...:
<head>
<script language="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,men ubar=1,resizable=1,width=xxx,height=xxx,left=xxx,t op=xxx');");
}
</script>
</head>
<BODY onLoad="javascript:popUp('filename-or-url')">
This one opens when you use the link and has no menus or toolbars etc:
<head>
<script language="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=500,height=350');");
}
</script>
</head>
<body>
<A HREF="javascript:popUp('filename-or-url')">Open the Popup Window</A>
Hope all that works... :)
voorma
11-05-2004, 02:18 PM
hmmmm..... you must be able to edit the popup 1 together with the click 1
i am to lazy to do it:P
CannonBallGuy
11-06-2004, 03:47 AM
Sorry? I didn't understand that at all... :(
voorma
11-06-2004, 04:17 PM
cant explain any ells sorry
CannonBallGuy
11-07-2004, 07:34 AM
Do you want the 1st one to open from a link?
Or do you want the 2nd one to open automatically or what????
voorma
11-07-2004, 02:26 PM
i dont know, i didn't ask for it!
oh sorry i posted it in the wrong column i put my reply in pythons go back javascript thread
shield
01-15-2005, 04:47 PM
ahh i was wondering why you replied to that thread ;)
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.