Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Making the current window full screen


Message #1 by "Alexander Bienz" <alex@v...> on Fri, 7 Dec 2001 17:16:13
Al,

I suggest you open a new window as a couple of the replies have stated. I 
don't know of a fullscreen mode in Netscape, although it probably has a 
kiosk mode of some sort (available from the command line?). I played 
around with a scrip some time ago for opening a window full screen and 
have posted it here:
http://host4u.upws.net/dockstader/openfullscreen.html
I think the comments should explain most things (some of the measurements 
may also be a bit off, but can be changed quite easily). Let me know if 
you have problems with it.

Peter

> Hi there!
> 
> I'm hoping this is a relatively easy question, it's to do with creating 
a 
> button on a web page that when clicked will make the current window full 
> screen.
> 
> Now ideally I would like this to be done the same way as IE does it's 
full 
> screen mode, I'm not just talking about maximizing the page here, I want 
> it to look like IE does it, If you press F11 you'll know what I mean.
> 
> I had a thought that I could make an onClick event that simply runs the 
> direct code for the F11 key, I can't remember what that is off hand so 
if 
> anyone can deliver that would be appreciated.
> 
> I would however also like the do a similar thing for Netscape although 
as 
> far as I've found they don't have a fullscreen shortcut, you have to 
click 
> on the tags by each toolbar indiviually to alter the size, and even then 
> this doesn't make the window maximized, but this could be added easily.
> 
> So has anyone any ideas please?
> 
> TIA
>  
> Cheers,
>   
> Al.

  Return to Index