Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript code which resizes the web page to full screen

    Hi Friends

    Pls help me in getting a javascript code which resizes the web page to full screen.

    The solution should not be of popup type as it gets blocked by most browsers now.

    Is it possible to

    a) send F11 key using javascript while the page is loading.

    or

    b) Pure javascript which resizes the page to full screen.


    Pls take care that the solution also works with Firefox.

    Thanks

    Regards
    arun1857

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can't do either of that. all you can do is resize the window to the screen's maximum dimensions. however, why do you think it's right to interfere with someone else's setup. users should be free to have their browser windows at whatever size they choose. it's really not for us developers to make that choice for them, now is it, particularly since they make have more than webpage open in the same window using tabs.

    can't your design work on any resolution?
    *keep it simple (TM)

  • #3
    New to the CF scene
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I want to do it for the following reasons

    1) it will work on the intranet and will increase the efficiency of work .
    2) i will get more space for showing things and thus avoiding scrolling down, etc
    3) users are generally reluctant to make it full screen if it does not come up on its own.

    Please help me in achieving full screen / maximized window.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Better yet what have you "tried" yourself. We aren't here to just give you code. We are here to help you with code. Post what you have tried. If this an intranet look into using a .hta file.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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