Close button #1041

Closed
LeBaux opened this Issue Mar 6, 2014 · 1 comment

Comments

Projects
None yet
2 participants

LeBaux commented Mar 6, 2014

Hi there. I am using flexslider for a fullscreen popup. But on a certain resolutions, there is way to close the popup, because the "grey" clickable area that closes the slider is too small, especially on 4:3 desktops. Is there a option to implement "esc" and "closenav" - button closing the popup?

OK resolution:
fullscreen

Not-so-OK resolution:
smallscreen

I have in HTML template.
http://www.ansonika.com/bed-and-breakfast/
Just click on any "room".
Thanks for any information!

Member

jeffikus commented Feb 19, 2015

Hi there

I would just add a keypress event in jquery for the esc key and close the popup that way, not sure what you are using to load the popup, but in the keypress event just call the close function.

More on keypress events in jquery -> http://api.jquery.com/keydown/ as far as im aware, esc is keydown 27.

@jeffikus jeffikus closed this Feb 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment