Click to See Complete Forum and Search --> : Opening windows without toolbars


Bing01
04-09-2003, 01:42 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!

requestcode
04-09-2003, 02:16 PM
Here is an example of one way you can do it. This allows you to determine the width and size for each document you want to load into the window.
<html>
<head>
<title>Open new window</title>
<script LANGAUAGE="javascript">
function OpenWin(linkid,wid,hit)
{
winprops="width="+wid+",height="+hit+",location=no,status=no,directories=no,toolbar=no,scrollbars=no,menubar=no,resizable=no,top=30,left=3 0"
NewWin=window.open(linkid, "newwin",winprops)
NewWin.focus()
}
</script>
</head>
<body>
<a href="javascript:OpenWin('page1.html','200','200')">Click here</a><br>
</body>
</html>

khaki
04-09-2003, 02:21 PM
This is a deliberate double-post (only 1 minute apart):

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

Is there some sort of epidemic all of a sudden where this is becoming standard operating procedure?

grrrrrr.
k