Mega Code Archive

 
Categories / JavaScript DHTML / Window Browser
 

Open a new window and control its appearance

<html> <head> <script type="text/javascript"> function open_win(){     window.open("http://www.rntsoft","_blank",                 "toolbar=yes, location=no, directories=no,                          status=no, menubar=no, scrollbars=yes,                          resizable=yes, copyhistory=yes, width=600, height=600") } </script> </head> <body> <form> <input type="button" value="Open Window" onclick="open_win()"> </form> </body> </html>