Click to See Complete Forum and Search --> : Navigator window without tool bars


Bing01
04-09-2003, 01:41 PM
Hi.

On my web site, I use a lot of links that open other windows to show the linked page
ex: <a href="page.html" target="_blank">

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?
And can I decide of the size of the window?
Can I decide if I want a scroll bar or not?
Can I make such a window as an automatic pop-upwhen a page is loaded?

I would love some answers on either one or all my questions

Thanks in advance!

khaki
04-09-2003, 02:13 PM
Hi Bing...

This is a question that gets asked a lot around here (you really shoulda' searched first), but here ya go:

<script language="javascript">
window.open("yourPage.htm","yourPageID","width=###, height=###, toolbar=no,
menubar=no, scrollbars=no, location=no, directories=no, status=no, resizable=no");
</script>

That should probably cover everything (?). Modify as necessary.

To open the new window as the page loads, make the script part of a function and call it on onLoad:

<body onload="openWin()">

or don't.

This should have answered everthing (i think)

;) k

khaki
04-09-2003, 02:25 PM
and... as it turns out...

this is yet another double-post!

http://forums.webdeveloper.com/showthread.php?s=&threadid=7490

(posted only 1 minute apart!)