+ Post New Thread
Results 1 to 8 of 8
Web Development Thread, Using HTML to force web page to open maximized in Coding and Web Development; Is there any way that a webpage can be coded to start maximiised or at some other predetrmined size? TIA...
  1. #1

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Using HTML to force web page to open maximized

    Is there any way that a webpage can be coded to start maximiised or at some other predetrmined size?

    TIA

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,413
    Thank Post
    642
    Thanked 964 Times in 664 Posts
    Blog Entries
    2
    Rep Power
    327

    Re: Using HTML to force web page to open maximized

    You'll need to use a bit of Javascript. Have a look at this one on DynamicDrive, or try one of the others.

  3. #3

    Join Date
    Sep 2006
    Location
    London
    Posts
    20
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Using HTML to force web page to open maximized

    I use this. It opens a page in fullerscreen with no toolbars. I only use it on the intranet to pop up the Internet Policy for the kiddies to read. It doesnt work properly with firefox though.

    <script>
    window.open("page_to_open.htm","fs","fullscreen=ye s")
    </script>

  4. #4

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Using HTML to force web page to open maximized

    Thanks guys I'll give it a wurl.

  5. #5

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,896
    Thank Post
    3,419
    Thanked 1,081 Times in 997 Posts
    Rep Power
    369

    Re: Using HTML to force web page to open maximized

    <script type="text/javascript">
    window.onload = function() {
    window.moveTo(0, 0);
    window.resizeTo(screen.availWidth, screen.availHeight);
    }
    </script>

  6. Thanks to mac_shinobi from:

    timbo343 (6th November 2013)

  7. #6

    Join Date
    Jan 2007
    Location
    Lowestoft, Suffolk
    Posts
    84
    Thank Post
    6
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: Using HTML to force web page to open maximized

    I'd never do this... one thing I hate is a website that fiddles with my browser window size.
    I control my browser not the website designer. If I choose to have scroll bars that's my choice.
    Only thing worse than changing my browser size are sounds or music playing automatically. :twisted:

  8. #7

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    18,130
    Thank Post
    522
    Thanked 2,540 Times in 1,975 Posts
    Blog Entries
    24
    Rep Power
    875

    Re: Using HTML to force web page to open maximized

    PaulBM - it depends what the use of the site is. If it is a MOTD page or a terms notice then you'd want to do this, but I agree about the internet in general.

  9. #8

    Join Date
    Jan 2007
    Location
    Lowestoft, Suffolk
    Posts
    84
    Thank Post
    6
    Thanked 4 Times in 4 Posts
    Rep Power
    16

    Re: Using HTML to force web page to open maximized

    Good point, but we all know that kids never read MotD's anyway.

    We tend to use the desktop wallpaper for our announcements.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 6
    Last Post: 12th July 2007, 08:49 AM
  2. Network links in HTML for an intranet style doo-daa...
    By Joedetic in forum How do you do....it?
    Replies: 11
    Last Post: 23rd May 2007, 11:59 AM
  3. HTML Editor
    By alan-d in forum Web Development
    Replies: 7
    Last Post: 17th April 2007, 07:56 AM
  4. Sending HTML Newsletters
    By Simcfc73 in forum Web Development
    Replies: 13
    Last Post: 1st March 2007, 02:27 PM
  5. Sheer quality HTML
    By Norphy in forum Web Development
    Replies: 11
    Last Post: 2nd March 2006, 03:16 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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