Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a maximized web page?

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

Can someone tell me how can I make a web page to open always maximized? It doen´t matter if I need to use script or html.

Thank you
 
Place this between the <HEAD></HEAD> tags:
Code:
<script language="JavaScript1.2">
<!--
// Auto maximize window script - By Nick Lowe (nicklowe@ukonline.co.uk)
// Courtesy of SimplytheBest.net ([URL unfurl="true"]http://simplythebest.net/info/dhtml_scripts.html)[/URL]

window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top