Results 1 to 4 of 4

Thread: Full Screen Window Opener Script

  1. #1
    Join Date
    Oct 2007
    Location
    England,Kent
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Full Screen Window Opener Script

    1) Script Title: Full Screen Window Opener Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/window1.htm

    3) Describe problem: The Code Works Perfect But When Its Opened Its NOT Properly Maximized.
    How To Fix Problem?

  2. #2
    Join Date
    Oct 2007
    Location
    England,Kent
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Fixed BY Self BUt Thanks If You Post Answer.

  3. #3
    Join Date
    Oct 2007
    Location
    England,Kent
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Sorry Dont work again... please help

  4. #4
    Join Date
    Oct 2007
    Location
    England,Kent
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default RE: The Fix (found By ME):D

    Ok i found problem you need this code:


    HTML Code:
    <script language="JavaScript1.2">
    <!--
    
    /***********************************************
    * Auto Maximize Window Script-  Dynamic Drive ([url]www.dynamicdrive.com[/url])
    * This notice must stay intact for use
    * Visit [url]http://www.dynamicdrive.com/[/url] for this script and 100's more.
    ***********************************************/
    
    top.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>
    </code>
    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>
    Put This IN The Head Section,
    Original Link :http://www.dynamicdrive.com/dynamicindex8/automax.htm
    Then Should Be Fixed
    Last edited by Jamie2993; 10-11-2007 at 10:50 PM. Reason: Miss Typed Place

Bookmarks

Posting Permissions

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