keithamus / jwerty

⌨ Awesome handling of keyboard events
http://keithamus.github.io/jwerty
Other
1.21k stars 109 forks source link

fire f11 #30

Closed krigans closed 11 years ago

krigans commented 11 years ago

Hi,

I am trying to get a full screen mode. i.e firing f11 on body load.

I am using the below code

jwerty.fire('{122}');

//Below is the full code hope this will help you to run it..

I look forward to hear from you.

Thanks & Regards Ganesh K

keithamus commented 11 years ago

You cannot use jwerty to fire shortcut commands to the browser. It does not work like this. jwerty.fire can only trigger functions that have been registered with jwerty.key or jwerty.event. You should look at the fullscreen api instead