Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Firefox full-screen popup?

Status
Not open for further replies.

avalon123

Programmer
Joined
Apr 11, 2005
Messages
4
Location
BE
Is there any way to open a popup in fullscreen mode in the Firefox and/or the regular Mozilla browser?

I know that a fullscreen popup is anoying for most of us but this is for a website for mentally disabled children.
For them it is easyer to work with an entire screen. Otherwise they could easily loose focus of what they where doing because they see the other desktop-items (Start-menu, etc).

I couldn't find a nice sollution on any of the descent search-engines.

Thank you for reading,
avalon
 
This works for me:

Code:
var winHandle = window.open('[URL unfurl="true"]http://www.google.co.uk/',[/URL] '', 'top=0,left=0,width='+screen.width+',height='+screen.height);

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]
 

Hmm.. then again, that depends on your definition of "full screen". The code I've just given you does not overwrite the taskbar.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Yes I know I just tested it :)

Thank you very much for your code. I'm gonna ask my boss (on friday) if this is good enough, otherwise I'll have to find another solution but I'll post the final answer in this thread.

kind regards,
avalon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top