WebUI/Theme/js/bplayer.js
(完整代码) 1KB// JavaScript Document
jQuery(function($){
var index = 0;
var maximg = 5;
//$('<div id="flow"></div>').appendTo("#myjQuery");
//滑动导航改变内容
$("#myjQueryNav li").hover(function(){
if(MyTime){
clearInterval(MyTime);
}
index = $("#myjQueryNav li").index(this);
MyTime = setTimeout(function(){
ShowjQueryFlash(index);
$('#myjQueryContent').stop();
} , 400);
}, function(){
clearInterval(MyTime);
MyTime = setInterval(function(){
ShowjQueryFlash(index);
index++;
if(index==maximg){index=0;}
} , 3000);
});
//滑入 停止动画,滑出开始动画.
$('#myjQueryContent').hover(function(){
if(MyTime){
clearInterval(MyTime);
}
},function(){
MyTime = setInterval(function(){
ShowjQueryFlash(index);
index++;
if(index==maximg){index=0;}
} , 3000);
});
//自动播放
var MyTime = setInterval(function(){
ShowjQueryFlash(index);
index++;
if(index==maximg){index=0;}
} , 3000);
});
function ShowjQueryFlash(i) {
$("#myjQueryContent div").eq(i).animate({opacity: 1},1000).css({"z-index": "1"}).siblings().animate({opacity: 0},1000).css({"z-index": "0"});
//$("#flow").animate({ left: 652+(i*76) +"px"}, 300 ); //滑块滑动
$("#myjQueryNav li").eq(i).addClass("current").siblings().removeClass("current");
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。