Fancybox force scroll to top
问题 I'm using the jQuery Fancybox plugin to display some content on a website. Unfortunately, when a link is clicked, the lightbox that is loaded starts at the same scroll position as the previous one. I tried using self.scrollTo(0,0) $.scrollTo(0) $('#top').scrollTo(); and a few others methods to push it back to the top, but none have seemed to work. Any help on this? 回答1: Does Fancybox have some sort of a callback? The reason I ask is, the lightbox is probably resetting the scroll back to the