PDA

View Full Version : How to disable Browser Resize?



me_myself
09-24-2007, 04:00 PM
I am planning to open my application in full screen mode - need the browser resize to be disabled.

Would be great if someone can post a cross-browser link or script to disable browser's resize feature (the middle button on the top right corner - the button inbetween minimize and close).

Thanks.

boogyman
09-24-2007, 05:14 PM
function openPopUp(el) {
var newWin = window.open('url','name','resize=no');
newWin.focus();
}



<a href="http://www.yahoo.com" onclick="openPopUp(this); return false;">Yahoo</a>

me_myself
09-24-2007, 05:34 PM
Just one thing -

when i resize the parent window and click on the link, the new window opens in the same size of the parent window except without the address bar, etc. Is there a way to open the new window in a complete FULL screen irrespective of the resolution and the size of its parent browser size?!

Thanks a lot fo the help.

codeexploiter
09-25-2007, 06:52 AM
Have you used fullscreen configuration attribute while opening a new window?



var newWin = window.open('url','name','resize=no,fullscreen=yes, scrollbars=auto');