Fancybox force scroll to top
- by Bradley Herman
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?