原文:使用jQuery的animate()方法让滚动条滚动到指定的位置,同时设置滚动的速度

lt DOCTYPE html PUBLIC W C DTD XHTML . Transitional EN http: www.w .org TR xhtml DTD xhtml transitional.dtd gt lt html xmlns http: www.w .org xhtml gt lt head gt lt title gt 无标题文档 lt title gt lt scri ...

2013-09-29 15:49 0 3994 推荐指数:

查看详情

jQ 操作滚动条滚动到指定位置

jQ:scrollTop() 方法设置或返回被选元素的垂直滚动条位置, $(selector).scrollTop(position) position:规定以像素为单位的垂直滚动条位置。 ...

Mon Nov 11 21:58:00 CST 2019 0 1762
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM