Window question

admin

Administrator
Staff member
I am aware that there is a statement that opens a new window for the viewer, in which you can specify the height, width etc, but I cannot remember what the actual statement is. Could someone who knows please tell me?<!--content-->in the <head>:<br />
<br />
<br />
<br />
<script language=JavaScript type="text/javascript"><br />
function newWin(loca,name,spec){<br />
window.open(loca,name,spec)<br />
}<br />
</script><br />
<br />
<br />
<br />
then where the link is you want to open into a new window:<br />
<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:newWin('YOURPAGE.html','','scrollbars=no,width=600,height=400')">......</a><br />
<br />
<br />
(you can specify the scrollbars... and i believe put some other stuff in there as well...)<!--content-->
 
Back
Top