Welcome to WebmasterWorld Guest from 54.205.75.60

Forum Moderators: incrediBILL

Message Too Old, No Replies

Open a window with customised screen size

Resize window screen size

   
12:10 pm on Feb 26, 2004 (gmt 0)

10+ Year Member



How to open a window with customised screen size, no handle resize, with status bar, with location bar?
1:58 pm on Feb 26, 2004 (gmt 0)

10+ Year Member



You should be able to do that with a handy javascript.
2:56 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I Take it you mean "it is possible to do it with a handy javascript". "Should" is entirely the wrong word. Except in a tiny number of situations where you are entirely in control of what is used to view the site and where you know the capabilities of everyone who will ever use it, you should NEVER do it. As somebody with vision problems I've lost count of the number of sites that I've found totally unusable because of this sort of thing.
6:23 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World, Jasmine_V.

Is there a business reason for what you want to do (given Eric_Jarvis's extremely good reason for not doing it)?

If you say why you'd like to do this, perhaps someone can come up with a solution that takes accessibility into account.

3:15 am on Feb 27, 2004 (gmt 0)

10+ Year Member



It is my client's requirement. I know the javascript to set the screen size 800 x 600 when the webpage is uploaded, but do not know the javascript for setting no resize to the handles.

Please help.

5:57 pm on Feb 27, 2004 (gmt 0)

10+ Year Member



Work this out!

Lots of thing you can play around a window
Good luck

<script language="JavaScript" type="text/javascript">
<!--
function PopWindow374724()
{
window.open('www.your-self.com/','top374724','width=500,height=500,menubar=no,scrollbars=no,toolbar=no,location=yes,directories=no,resizable=no,top=50,left=50');
}
//-->
</script>

<body onLoad="JavaScript:PopWindow374724()">