Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Viewing photos in browser

    Hi,

    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?

    Regards,

    walduxas

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,784
    Thanks
    6
    Thanked 1,022 Times in 995 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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •