temple/images/whir.top.js
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
//导航选中
$("#nav" + navID).addClass("onnav");
//样式
$(".website_list dl dd:last").css("border-bottom", "0");
$(".Top .slide .a").hover(function () {
$(this).removeClass("a");
}, function () {
$(this).addClass("a");
})
$(".Top .slide_bg .slide").each(function () {
$(this).attr("data-height", $(this).outerHeight(true));
})
$(".MainNav ul li").hover(function () {
var _index = $(this).index(),
dataheight = $(".Top .slide_bg .slide" + _index).attr("data-height");
$(".Top .slide_bg .slide").stop().animate({ height: 0 }, 500)
$(".Top .slide_bg .slide" + _index).stop().animate({ height: dataheight }, 500);
$(".Top .slide_bg").stop().animate({ height: dataheight }, 500);
}, function () {
$(".Top .slide").hover(function () {
var dataheight = $(this).attr("data-height");
$(".Top .slide_bg .slide").stop().animate({ height: 0 }, 500)
$(this).stop().animate({ height: dataheight }, 500);
$(".Top .slide_bg").stop().animate({ height: dataheight }, 500);
return false;
}, function () {
$(".Top .slide_bg .slide").stop().animate({ height: 0 }, 500);
$(".Top .slide_bg").stop().animate({ height: 0 }, 500);
})
$(".Top .slide_bg .slide").stop().animate({ height: 0 }, 500);
$(".Top .slide_bg").stop().animate({ height: 0 }, 500);
})
$(".Top .slide2 .left a").hover(function () {
var _index = $(this).index();
$(this).addClass("a_bg").siblings("a").removeClass("a_bg");
$(".Top .slide2 .right .list").hide().eq(_index).show();
})
$(".Top .slide3 .left a").hover(function () {
var _index = $(this).index();
$(this).addClass("a_bg").siblings("a").removeClass("a_bg");
$(".Top .slide3 .right").hide().eq(_index).show();
})
$(".Top .slide6 .left a").hover(function () {
var _index = $(this).index();
$(this).addClass("a_bg").siblings("a").removeClass("a_bg");
$(".Top .slide6 .right .list").hide().eq(_index).show();
})
$(".Top .slide7 .left a").hover(function () {
var _index = $(this).index();
$(this).addClass("a_bg").siblings("a").removeClass("a_bg");
$(".Top .slide7 .right .list").hide().eq(_index).show();
})
$(".Top .slide8 .left a").hover(function () {
后面还有 50 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
