首页 相关文章 jquery 上下滚动广告

jquery 上下滚动广告

代码如下:
(function($){
$.fn.extend({
rollList:function(option){
option=$.extend({
direction:"up",
step:1,
time:23
},option);
var step_coe,scroll_coe,score_coe;
if(option.direction=="up")
{
step_coe=1;
scroll_coe=1;
score_coe=1;
}else
{
step_coe=-1;
scroll_coe=-1;
score_coe=0;
}
return this.each(function(){
var $this=$(this);
var _this=this;
var itemHeight;
var temp=$("DIV /DIV");
$this.css("overflow","hidden").children()
.appendTo(tem...[ 查看全文 ]

2016-02-19 标签:

jquery 上下滚动广告的相关文章

手机页面
收藏网站 回到头部