Thursday, March 29, 2012

Maximising Windows

Hi,
I know this is not an ASP.NET issue, but I thought I would ask the question
of all you guys here.
I know how to mazimize a window using the javascript resizeTo( h , w )
method of the window object. However, it doesent actually maximise the
window to fill the whole screen. it stops short of that.
Does anyone know if there is a way to do this ?
CheersOn Mar 26, 5:48=A0pm, "Microsoft Newsserver" <m...@.nowhere.com> wrote:
> Hi,
> I know this is not an ASP.NET issue, but I thought I would ask the questio=[/color
]
n
> of all you guys here.
> I know how to mazimize a window using the javascript resizeTo( =A0h , w )
> method of the window object. However, it doesent actually maximise the
> window to fill the whole screen. it stops short of that.
> Does anyone know if there is a way to do this ?
> Cheers
For IE you can use window.open with the 'fullscreen' option
var newwin =3D window.open('default.aspx','','fullscreen');
Thanks.
Although that does in fact work, it makes it's not quite what I wanted as it
fills the screen rather than makes the window fit the screen. Thanks for the
help tho.
"Alexey Smirnov" <alexey.smirnov@.gmail.com> wrote in message
news:74b18f44-39aa-4024-99c5-687cb3dd9a66@.i7g2000prf.googlegroups.com...
On Mar 26, 5:48 pm, "Microsoft Newsserver" <m...@.nowhere.com> wrote:
> Hi,
> I know this is not an ASP.NET issue, but I thought I would ask the
> question
> of all you guys here.
> I know how to mazimize a window using the javascript resizeTo( h , w )
> method of the window object. However, it doesent actually maximise the
> window to fill the whole screen. it stops short of that.
> Does anyone know if there is a way to do this ?
> Cheers
For IE you can use window.open with the 'fullscreen' option
var newwin = window.open('default.aspx','','fullscreen');

No comments:

Post a Comment