how is possible to get my actual document scroll and then set it after some event ? I would like to开发者_如何学Go get how my page is scrolled and after some event come back to this position. thnk
You can use $(window).scrollTop()
to get the current vertical scroll and set it with $(window).scrollTop(value)
as well.
精彩评论