滚动条位置
时间:2014-08-13 18:11:07
收藏:0
阅读:319
var container = $(‘.option‘),
scrollTo = $(".checktype").children("li").eq(highlightindex);
container.scrollTop(
scrollTo.offset().top - container.offset().top + container.scrollTop()
);
原文:http://www.cnblogs.com/afei-happy/p/3910248.html
评论(0)