View Full Version : Popup Window Script... + 6 REP
Jargit
18-11-2006, 07:41 PM
Can someone post a mini script for a popup
So i just have to add my URL and it will open a new window
Thanks
+ 6REP
JamesRouale
18-11-2006, 07:42 PM
I believe the following DHTML generator meets your specifications:
http://www.dynamicdrive.com/dynamicindex8/popwin.htm
Jargit
18-11-2006, 07:49 PM
Thanks
GOTTA SPREAD
None seem to work :(
cany someone just psot it here :D
Jackboy
18-11-2006, 08:03 PM
Errr.
Try
<a href="linkgoeshere.php" target="NEW">
??
Kymux
18-11-2006, 08:04 PM
This goes in Head. It's good, you can edit width and height etc. Much better :)
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
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=300,height=270');");
}
// End -->
</script>
This is the link they will click.
<a HREF="javascript:popUp('http://www.YOURPOPUPLINKHERE.com')" style="font-family: Verdana; color: #FFFFFF; font-size: 8pt; font-weight: bold">Disclaimer</a>
Jargit
18-11-2006, 08:07 PM
REp for all that i can..
But is there one where they dont need to Click the link
So i could liek put on on a homepage..
Use lost's first code, then in the <head> put this
<script type="text/javascript">
window.onload=function(){
popUp('URL HERE');
}
</script>
Havent tested.
Jackboy
18-11-2006, 08:12 PM
Do what the other guy said and do
<body onload="javascript:popUp('URLGOESHERE')">
ETC.
Jargit
18-11-2006, 08:20 PM
Nope didnt work. NVm guys :d thanks for trying
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.