Connecting Tech Pros Worldwide Forums | Help | Site Map

javascript and IE

mihir maniar
Guest
 
Posts: n/a
#1: Jul 23 '05
how can i maximise the internet explorer when i call a jsp page.

Mike Preston
Guest
 
Posts: n/a
#2: Jul 23 '05

re: javascript and IE


On 6 May 2004 00:47:53 -0700, mihirdm@rediffmail.com (mihir maniar)
wrote:
[color=blue]
>how can i maximise the internet explorer when i call a jsp page.[/color]

I *think* this will work:

window.resizeTo(((screen.width/2)*2),((screen.height/2)*2))

Note the redundancy as space holders for making modifications.

mike
Dominique
Guest
 
Posts: n/a
#3: Jul 23 '05

re: javascript and IE


rule of thumb:
resize the height to screen height - (+/- 30)
and position window to 0,0

else the rest of the window will sit below the taskbar, and it'll position
itself in the next reserved cascade position

"Mike Preston" <mbpatpas.invalid@pacbell.net> wrote in message
news:409a2458.133602840@news.INDIVIDUAL.NET...[color=blue]
> On 6 May 2004 00:47:53 -0700, mihirdm@rediffmail.com (mihir maniar)
> wrote:
>[color=green]
> >how can i maximise the internet explorer when i call a jsp page.[/color]
>
> I *think* this will work:
>
> window.resizeTo(((screen.width/2)*2),((screen.height/2)*2))
>
> Note the redundancy as space holders for making modifications.
>
> mike[/color]


Richard Cornford
Guest
 
Posts: n/a
#4: Jul 23 '05

re: javascript and IE


Dominique wrote:

Please do not top post to comp.lang.javascirpt. The FAQ details
appropriate posting style for this group (among other things).
[color=blue]
> rule of thumb:
> resize the height to screen height - (+/- 30)
> and position window to 0,0[/color]

Rule of thumb:

Any assumptions about the presence, dimensions and location of OS
features, especially those subject to user configuration, are invalid in
Internet browser scripts.
[color=blue]
> else the rest of the window will sit below the taskbar, and it'll
> position itself in the next reserved cascade position[/color]

Apart from the obvious fact that the OS is not necessarily Microsoft
Windows, the size and location of the taskbar are subject to user
modification/preferences.

Richard.


Closed Thread