Next-in-Thread Next-in-Thread
 Next Message Next Message

Idea here's a good code for that(revised) 

Forum: Guides to HTML
Re: Question Open text link in new window, but customize size, toolbars etc. (Pete)
Date: 2002, Mar 30
From: rob <slayer33>

sorry man, i checked out that code i wrote before and there was an error. this code works though...

<HTML>
<HEAD>
<TITLE>Page Title</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp() {
props=window.open('http://www.whateveryouwant.com', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=500, height=500, left = 262, top = 134');
}
</script>
</HEAD>

<BODY>
<A HREF="javascript:popUp()">Open the Popup Window</A>
</BODY>

</HTML>


...there you go. anothere tip, you can open different windows with different links by adding text "function popUp(HERE)" and "javascript:popUp(HERE)" the text has to be the same though. if you have any questions e-mail me bombaso3333@hotmail.com

 Next-in-Thread Next-in-Thread
 Next Message Next Message

 Add Add
to: "here's a good code for that(revised)"

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!