Click to See Complete Forum and Search --> : specify window size, no toolbar and no scrollbar


ai3rules
05-04-2003, 12:21 PM
how do i make it so that when my page is opened, it can be opened to a specific size, with no scrollbars and no toolbar or anything at the top?

khalidali63
05-04-2003, 04:23 PM
Take a look here,
you will see how to open up a child window with specific dimensions as wll as how to position a child window on the screen

http://68.145.35.86/skills/javascripts/CentralizedPopupWindow.html

Charles
05-04-2003, 04:57 PM
Please note that the example given above will leave you with link that will fail for more that one in ten users. The following will keep things working on all browsers.

<a href="http://www.w3.org/" onclick="window.open(this.href, 'child', 'height=400,width=300'); return false">W3C</a>

And see http://developer.netscape.com/docs/manuals/js/client/jsref/window.htm#1202731 for how to specify the feature of the child window.