[英]move to an element in scrollable content
I have a standard scrollable content with some block elements. 我有一些带有块元素的标准可滚动内容。
I want to find out position of the div (relative to content top) and move scroll to that possiton. 我想找出div的位置(相对于内容顶部),然后将滚动移动到该位置。 Is it possible?
可能吗? Maybe with jquery.
也许与jQuery。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.