Navigator window without tool bars

liunx

Guest
Hi.<br />
<br />
On my web site, I use a lot of links that open other windows to show the linked page<br />
ex: <a href=http://www.webdeveloper.com/forum/archive/index.php/"page.html" target="_blank"><br />
<br />
What if I want the opening window NOT to have the standard tool bars at top of browser, Only the most simple window frame possible?<br />
And can I decide of the size of the window? <br />
Can I decide if I want a scroll bar or not?<br />
Can I make such a window as an automatic pop-upwhen a page is loaded?<br />
<br />
I would love some answers on either one or all my questions<br />
<br />
Thanks in advance!<!--content-->Hi Bing...<br />
<br />
This is a question that gets asked a lot around here (you really shoulda' searched first), but here ya go:<br />
<br />
<script language="javascript"><br />
window.open("yourPage.htm","yourPageID","width=###, height=###, toolbar=no, <br />
menubar=no, scrollbars=no, location=no, directories=no, status=no, resizable=no");<br />
</script> <br />
<br />
That should probably cover everything (?). Modify as necessary.<br />
<br />
To open the new window as the page loads, make the script part of a function and call it on onLoad:<br />
<br />
<body onload="openWin()"><br />
<br />
or don't.<br />
<br />
This should have answered everthing (i think)<br />
<br />
;) k<!--content-->and... as it turns out...<br />
<br />
this is yet another double-post!<br />
<br />
<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=7490">http://forums.webdeveloper.com/showthre ... eadid=7490</a><!-- m --><br />
<br />
(posted only 1 minute apart!)<!--content-->
 
Back
Top