这是文字滚动插件,自动滚动,向上滚动,向下滚动功能;
调用方法:
JavaScript代码
$(document).ready(function(){
$("#scrollDiv").textSlider({
line:4,
speed:500,
timer:3000
});
});
其中:
line:滚动几行;
speed:滚动速度;
timer:自动滚动间隔;
微信扫一扫
这是文字滚动插件,自动滚动,向上滚动,向下滚动功能;
调用方法:
JavaScript代码
$(document).ready(function(){
$("#scrollDiv").textSlider({
line:4,
speed:500,
timer:3000
});
});
其中:
line:滚动几行;
speed:滚动速度;
timer:自动滚动间隔;
相关推荐