Welcome to WebmasterWorld Guest from 23.20.157.174

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)

New User

10+ Year Member

joined:Feb 26, 2004
posts:4
votes: 0


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)

Junior Member

10+ Year Member

joined:Feb 19, 2003
posts:136
votes: 0


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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 6, 2001
posts:917
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 6, 2003
posts:661
votes: 0


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)

New User

10+ Year Member

joined:Feb 26, 2004
posts:4
votes: 0


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)

Junior Member

10+ Year Member

joined:Feb 20, 2004
posts:48
votes: 0


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()">