1,105,281 Community Members

Is there a way to trigger F11

Member Avatar
Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,
Is there a way to trigger F11 trough javascript or jquery so.. i can go into full-screen mode? If so how can i do it.?

Thanx...

Member Avatar
Taywin
Posting Maven
2,632 posts since Apr 2010
Reputation Points: 134 [?]
Q&As Helped to Solve: 378 [?]
Skill Endorsements: 17 [?]
 
0
 

What you need is to have a keyboard listener to watch for a keyboard event. If the button pressed is F11 (keycode 16), then do something with your window. A simple script is here. Just take a look and see if you can modify to your need.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: