Now I don't know what function would go in that onclick as I don't have the JS. One more thing that would be nice if the text 'FULLSCREEN' changes to 'NORMAL WINDOW' when the button is pressed, so that the user could realize that they have to press the same button again to get out of fullscreen, it would be like toggle at every click text changes from 'FULLSCREEN' to 'NORMAL WINDOW' and then if pressed again changing to 'FULLSCREEN'.

Paul_Wilkins
—
2012-04-27T07:05:15Z —
#2

cryoffalcon said:

Hi,I want to make a button which if pressed works as if F11 key on keyboard is pressed.