Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Viewing photos in browser
07-12-2013, 01:25 PM #1
- Join Date
- Jul 2013
- Thanked 0 Times in 0 Posts
Viewing photos in browser
currently it has become very popular to show photos for users in a browser by opening new dialog window with the darker transparent background (for instance, this is implemented in Facebook). When user presses Esc button, this dialog window turns off and user can clearly see his original page.
My question is, is it possible to disable Esc button in this dialog window when viewing photos? I don't want to disable Esc button in the whole browser (and I think it would not be possible), but I believe there should be some way to disable Esc button in dialog window... or maybe to trap Esc button in some way.
Is it possible?
07-13-2013, 01:00 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,087 Times in 1,059 Posts
Of course this is possible (actually, you don’t disable the Escape button, you just have to not program the button functionality into the script) but what is to be done exactly depends on the script you are using.