You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
827 B
31 lines
827 B
/*tab-xiaohei-20170817*/
|
|
function tab3(nav, bot) {
|
|
jQuery(nav).mouseenter(function() {
|
|
var index = jQuery(this).index();
|
|
jQuery(this).addClass("active").siblings().removeClass("active");
|
|
var bnb = jQuery(this).parent().parent().nextAll(bot);
|
|
bnb.hide();
|
|
bnb.eq(index).show();
|
|
})
|
|
}
|
|
|
|
function tab4(nav, bot) {
|
|
jQuery(nav).mouseenter(function() {
|
|
var index = jQuery(this).index();
|
|
jQuery(this).addClass("focus").siblings().removeClass("focus");
|
|
var bnb = jQuery(this).parent().parent().nextAll(bot);
|
|
bnb.hide();
|
|
bnb.eq(index).show();
|
|
})
|
|
}
|
|
|
|
|
|
function tab5(nav, bot) {
|
|
jQuery(nav).mouseenter(function() {
|
|
var index = jQuery(this).index();
|
|
jQuery(this).addClass("on").siblings().removeClass("on");
|
|
var bnb = jQuery(this).parent().parent().nextAll(bot);
|
|
bnb.hide();
|
|
bnb.eq(index).show();
|
|
})
|
|
}
|