$(function() {
$(".tabbox .tab a").mouseover(function() {
$(this).addClass('on').siblings().removeClass('on');
var index = $(this).index();
number = index;
$('.tabbox .content li').hide();
$('.tabbox .content li:eq(' + index + ')').show();
});
var auto = 0; //等于1則自動切換,其他任意數字則不自動切換
if(auto == 1) {
var number = 0;
var maxNumber = $('.tabbox .tab a').length;
function autotab() {
number++;
number == maxNumber ? number = 0 : number;
$('.tabbox .tab a:eq(' + number + ')').addClass('on').siblings().removeClass('on');
$('.tabbox .content ul li:eq(' + number + ')').show().siblings().hide();
}
var tabChange = setInterval(autotab, 3000);
//鼠標懸停暫停切換
$('.tabbox').mouseover(function() {
clearInterval(tabChange);
});
$('.tabbox').mouseout(function() {
tabChange = setInterval(autotab, 3000);
});
}
});
function glb_show(show){
document.getElementById(show).style.display='block';
}
function glb_hide(hide){
document.getElementById(hide).style.display='none';
}
$(function(){
$(window).scroll(function(){
if($(window).scrollTop()>100){
$(".side-nav-wrap #goTop").fadeIn();
}
else{
$(".side-nav-wrap #goTop").hide();
}
});
$(".side-nav-wrap #goTop").click(function(){
$('html,body').animate({'scrollTop':0},500);
});
});
$("#gb").click(function(){
$("#zk").animate({left:"-1920px"},1200);
$("#telad").css('display','block');
});
$("#telad").click(function(){
$("#zk").animate({left:"0"},1200);
$("#telad").css('display','none');
});
(function(){
var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?384b7bc2f7f2ab4d6b6c2c19906682fa":"https://jspassport.ssl.qhimg.com/11.0.1.js?384b7bc2f7f2ab4d6b6c2c19906682fa";
document.write('<\/script>');
})();
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"left","bdTop":"440"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://#/hm.js?0da92bfbda6f85a29b7202526b80f80b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
十大低糖水果排行榜_被男友带到惩罚室打屁股_ccyy备用地址