File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Sending a Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Sending a "Function Key" Message in JS" Watch "Sending a "Function Key" Message in JS" New topic
Author

Sending a "Function Key" Message in JS

Brian Stack
Greenhorn

Joined: Apr 25, 2003
Posts: 1
I am a novice as JavaScript.
I would like to send an "F12" event when my
webpage starts up. The reason is that I
am running Mozilla and want the page
to go to full-screen on startup which is
the F12 key without use intervention.
Regards,
Brian
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
well it is not that simple,
There is no way to make the F12 key pressed, you can open a pop up window to fullscreen and create that, but you can not do it with the main window.
[edit]isn't it the F11 key??[/edit]
Eric
[ April 25, 2003: Message edited by: Eric Pascarello ]
 
IntelliJ Java IDE
 
subject: Sending a "Function Key" Message in JS
 
Threads others viewed
controlling the buttons functions in a page using keyboard itself
Catching F12
HotKeys
Show all/Jump to method in IntelliJ
Intra Ranch Go Game!
developer file tools