Showing a new pop-up window

Hi there! I've a button on my web page and I wanna show a new window when this button is clicked.<br />
There's this thing that's something like: #...onClick Window("http://www.yahoo.com...")<br />
<br />
Just how do u code it so that a new window will appear(maximized, if possible) with a specified web site?(that is, the new window will show up and immediately load the Yahoo! home page etc.)<br />
<br />
Please and thanks a lot! :):):)<br />
Xeon! :):D<!--content-->This will do it:<br />
<br />
<script language="JavaScript"><br />
<!--<br />
function OpenWindow(sWidth, sHeight) {<br />
window.open ("", "[window name]", "menubar=[yes/n...g works totally perfect! :):):)<!--content-->
 
Back
Top