SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2007
    Location
    London, United Kingdom
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Going full screen in IE7 (without popup)

    Hi

    I am trying to get IE7 to go fullscreen on my webpage without doing a popup window - since this opens another window so there are 2 windows - Is there any way to just simply pass the F11 fullscreen command via javascript?

    Many thanks

    Mark

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    No there isn't. It is considered to be a security hole in earlier versions of IE that they allow it.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2007
    Location
    London, United Kingdom
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Going fullscreen in IE7

    Ah. I see.

    Besides that though, is there a way to go fullscreen with javascript without opening 2 windows? (do I need to set the target to _self in the script?)

    thanks

    Mark

  4. #4
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    _self just means send the requested page to the current window. It doesn't actually change the window properties.
    Ian Anderson
    www.siteguru.co.uk

  5. #5
    SitePoint Guru Ize's Avatar
    Join Date
    Nov 2005
    Location
    The Netherlands
    Posts
    808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't believe this is possible.
    Also, just FYI, if I were to visit a website which unexpectantly took over control of my own screen, the first button I would be looking for would be the browser's Back button.

  6. #6
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The only time such an event could be reasonable is in an Intranet environment wherein fullscreen mode may be needed for best use of an application. For a general web page then if you need to do such a thing then your design is wrong.
    Ian Anderson
    www.siteguru.co.uk

  7. #7
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,810
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    If I was viewing a web site in a tab in my browser (which is not set to full screen because that stretches the text too much) I would be extremely annoyed if that site were able to resize my browser window and stull up the sites open in the other tabs. Fortunately that can't happen.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •