Implemented Fancybox and have only allowed user to view 2 row (6 pictures) but the other images can still be seen in lightbox when opened, however when you exit the lightbox on image 8 it jumps the content to that image when I want it to stay with the first 6 images.
答案 0 :(得分:0)
尝试设置$.fancybox.defaults.backFocus = false;
,以防止在关闭实例后将焦点放在活动元素上。