This is really about what you can do from javascript. See:
http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen

and

http://stackoverflow.com/questions/7495373/how-to-make-browser-full-screen-using-f11-key-event-through-javascript

which seem to suggest you can't do it.

Paul

On 09/11/11 13:49, David wrote:
Most browsers have a built in fullscreen mode via the F11 key.
I have a requirement to add a "full screen mode" button to my gwt app
and am looking for a way to fire the F11 Event


F11_KEY = 122;

NativeEvent f11Event = Document.get().createKeyPressEvent(false,
false, false, false, F11_KEY);

Both of these solutions don't seem to work:
     1)   DomEvent.fireNativeEvent(f11Event, this);
     2)   ..getElement().dispatchEvent(f11Event);


Has anyone tried this before?

Thanks
David


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to