Created
December 30, 2015 02:29
-
-
Save levantoan/1b7219722f303cb21a27 to your computer and use it in GitHub Desktop.
Sửa lỗi khi click vào fancybox bị nhảy lên top
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Nếu khi click vào thẻ a bật fancybox mà bị nhảy lên đầu trang thì bạn thêm đoạn script này vào là ok*/ | |
helpers: { | |
overlay: { | |
locked: false | |
} | |
} | |
Ví dụ thực tế: | |
$('.fancybox').fancybox({ | |
helpers: { | |
overlay: { | |
locked: false | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment