JQuery plug in fancybox cannot use the left and right keys in the pop up layer
- 2020-03-30 01:04:33
- OfStack
The JQuery plug-in fancybox solves the problem of not being able to use left and right keys in the pop-up layer. The reason it doesn't work is that the plug-in takes over the left and right keys for flipping through multiple images.
If you don't need this feature, you can disable takeover in the fancybox plug-in.
Js file in the plug-in jquery. Fancybox-1.3.4. js line 598, comment out.
/ / _set_navigation ();