$(function () { $(".weixin img").hide(); $(".weixin").hover(function () { $(this).find("img").fadeIn(); }, function () { $(this).find("img").fadeOut(); }); }) $(function () { $("#nav_ul > li").hover(function () { $(this).find("ul").slideDown(300); }, function () { $(this).find("ul").stop(true, true).slideUp(); }); }) $(function () { $("#kinMaxShow").kinMaxShow({ height: 650, button: { normal: { right: '47%', borderRadius: '10px', background: "#f5af1b", border: "0" }, focus: { borderRadius: '10px', background: "#d79407", border: "0px", color: "#000000" } } }); }) //鍙充晶鍒囨崲1 function swap_tab(n) { for (var i = 1; i <= 6; i++) { var curC = document.getElementById("tab_" + i); var curB = document.getElementById("tab_t" + i); if (n == i) { curC.style.display = "block"; curB.className = "active" } else { curC.style.display = "none"; curB.className = "normal" } } } $(function () { $(".lj_titlespan").hover(function () { $(".lj_titlespan").removeClass("lj_titlespanhover"); $(this).addClass("lj_titlespanhover"); $(".lj_box_main").hide(); $(".lj_box_main").eq($(".lj_titlespan").index($(this))).show(); }) }); $(function () { $('#keft_div').hover(function(){ $('#keft_div').stop().animate({right:'0px'},200); },function(){ $('#keft_div').stop().animate({right:'-132px'},200); }); })