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 6 of 6
  1. #1
    Regular Coder
    Join Date
    Feb 2003
    Posts
    345
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow change to fullscreen and go back to normal screen clicking a link (button, image...)?

    Is there any way to do it?

    For example a small image that when the user clicks on it, the browser changes to fullscreen, and being in fullscreen mode, if the image is clicked again, the browser turns to normal mode. I have noticed that Explorer, Mozilla and Opera use F11 for the task, so I think it can be possible, but how?

    I try to do this because all browser do not have a big button available in default install to change to fullscreen, so I'm sure most of the people don't even know it is possible to use all the screen.

    THANKS.
    Last edited by maltrecho; 08-20-2003 at 08:13 PM.

  • #2
    Regular Coder
    Join Date
    Jul 2003
    Location
    Ontario, Canada
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not sure if this is possible... I know you can open full-screen windows from another window or resize the current window, but I don't know for sure if you can switch to full-screen and then back... (using JavaScript)

    Unless there's a way to map a button click to the "push" of the F11 key, I'm not sure that this can be done...

    I'll look into it though...

  • #3
    Regular Coder
    Join Date
    Feb 2003
    Posts
    345
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #4
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You can always just write: "Press F11 to change to full screen" if you want people to know it's possible.

  • #5
    Regular Coder
    Join Date
    Jul 2003
    Location
    Ontario, Canada
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I couldn't find anything on the web (doing a quick search and stuff)

    That doesn't mean it can't be done... just means it's hard to find and that I don't want to spend anymore time on it

    Happy Hunting

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you mean true fullscreen - no toolbars or anything - only IE6 without any service packs exposes this possibility

    window.open("whatever.html","fullscreen");

    but you mustn't do it automatically; it must be a button or a link or something. I think marek_mar's idea is the best.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

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