Hello everyone
would anyone know a script that would enable me to have a browser window open AUTOMATICALLY full screen?
This is very urgent, any help will be greatly appreciated.
Thanks!
Bluranj is right however there is a way that takes into consideration the taskbar as well as any application that take up desktop area by making the available area smaller for all applications.
use this correction :
<script>
window.resizeTo(screen.availWidth, screen.availHeight)
</script>
if you are using window.open() you might want to stop the resizing that occurs only after the page is loaded with the prior way.
Try adding this in the options height and width as well as position information for where you want the popup to appear at (screenX and screenY for netscape and top and left for IE):
<script>
var width = screen.availWidth
var height = screen.availHeight
Xutopia with this single post, you have helped me solve a BIG problem I have been having with IE displaying a 10-15 pixel gap on the right hand side of my pages with 100% width tables, and also IE producing unecessary scroll bars that I couldn't get rid of where text got close to the edge.
I just happened to come across this post and tried your script suggestion and it fixed BOTH problems for me.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.