Maximise Windows

Results 1 to 2 of 2

Thread: Maximise Windows

  1. #1
    GP Guest

    Default Maximise Windows

    Hi, I need to ensure that when a link is clicked on that the window that opens is maximised. What is the line of HTML code that does this. Any help is apprecaited.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Maximise Windows

    Here is a script. It should work in ie 3+ and netscape 3+. This script is from, so you can get more info there, it is under the browser window catagory, Heres the script:<BR><BR>&#060;script language="JavaScript1.2"&#062;<BR>&#060;!--<BR><BR>/*<BR>Auto Maximize Window Script- By Nick Lowe (<BR>For full source code, 100&#039;s more free DHTML scripts, and Terms Of Use<BR>Visit<BR>*/<BR><BR>top.window.moveTo(0,0);<BR>if (document.all) {<BR>top.window.resizeTo(screen.availWidth,screen. availHeight);<BR>}<BR>else if (document.layers&#124&#124document.getElementById) {<BR>if (top.window.outerHeight&#060;screen.availHeight&#1 24&#124top.window.outerWidth&#060;screen.availWidt h){<BR>top.window.outerHeight = screen.availHeight;<BR>top.window.outerWidth = screen.availWidth;<BR>}<BR>}<BR>//--&#062;<BR>&#060;/script&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts