Page 1 of 1
Automatic browser resizing - javascript
Posted: Sat Mar 22, 2003 5:00 pm
by m3mn0n
I want to put the user in full screen mode when they first visit my site, is there a code anyone knows of that can do this? I've searched around a few big javascript sites and nothing.
Posted: Mon Mar 24, 2003 8:09 pm
by Skyzyx
I'm going to hate myself in the morning for giving out this information, as it only makes the web a worse place to be... but here it is:
Code: Select all
window.open(location.href, "", "fullscreen, scrollbars");
It only works in IE5+. Gecko browsers open a full screen with a title bar, and I'm not sure about Opera. This is considered a "bug" by Microsoft, and is supposed to be removed in the upcoming IE7.
Posted: Tue Mar 25, 2003 4:26 am
by twigletmac
Be careful what you use this for - it could end up turning a lot of people away.
Mac