jQuery(".pc_nav").slide({type:"menu", titCell:".navli", targetCell:".menu",effect:"slideDown",delayTime:300,triggerTime:0,returnDefault:true});//瀵艰埅 jQuery(".banner-box").slide({mainCell:".bd",effect:"fold",delayTime:3000,interTime:4000,autoPlay:true}); jQuery(".special-tab").slide({mainCell:".bd",autoPage:true,effect:"left",autoPlay:true,vis:4}); jQuery(".mess-slide").slide({titCell:".hd",mainCell:".bd",autoPage:'
  • ',effect:"left",autoPlay:false}); // 棣栭〉澶撮儴婊氬姩鍥哄畾 window.onscroll = function() { var topScroll = document.body.scrollTop || document.documentElement.scrollTop; //婊氬姩鐨勮窛绂?璺濈椤堕儴鐨勮窛绂 var bigtop = document.getElementsByClassName("logo-box")[0]; if (topScroll > 64) { bigtop.classList.add("scroll_top"); }else{ bigtop.classList.remove("scroll_top"); } }; /*// search $(".search_btn").click(function(e){ $(".search_btn >span").hide(); $(this).parent().css('z-index','11'); $(this).find('form input').css({'width':'220px','padding-left':'8px','border-color':'white'}); $(this).find('form button').css('width','50px'); e.stopPropagation();//闃绘鍐掓场 }); $(document).click(function(e){ $(".search_btn >span").show(); $(".search_btn").parent().css('z-index','9'); $(".search_btn").find('form input').css({'width':'0px','padding-left':'0px','border-color':'transparent'}); $(".search_btn").find('form button').css('width','0px'); e.stopPropagation(); }); */ // 绉诲姩绔鑸 $(".mob_select").click(function(){ $(".mob_nav").slideToggle(); $(this).toggleClass('nav_btns'); }); // 绉诲姩绔簩绾у鑸笅鎷 $(".mob_nav >ul > li > .add_select").click(function(event) { $(this).siblings('.menu').slideToggle(); event.stopPropagation(); $(this).toggleClass('add'); }); // 绉诲姩绔笁绾у鑸笅鎷 $(".mob_nav .menu > li > .add_select").click(function() { $(this).siblings('.three_menu').slideToggle(); $(this).toggleClass('add'); }); // tab鍒囨崲 $('.common-title .title-name li').mouseover(function() { $(this).addClass('normal').siblings("li").removeClass('normal'); $(this).parent().next('.title-more').children().eq($(this).index()).show().siblings().hide(); $(this).parent().parent().next('.tab-list').children().eq($(this).index()).show().siblings().hide(); }); // 璁剧疆涓轰富椤 function SetHome(obj, vrl) { try { obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl); } catch (e) { if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("姝ゆ搷浣滆娴忚鍣ㄦ嫆缁濓紒\n璇峰湪娴忚鍣ㄥ湴鍧€鏍忚緭鍏モ€渁bout:config鈥濆苟鍥炶溅\n鐒跺悗灏 [signed.applets.codebase_principal_support]鐨勫€艰缃负'true',鍙屽嚮鍗冲彲銆?); } var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); prefs.setCharPref('browser.startup.homepage', vrl); } else { alert("鎮ㄧ殑娴忚鍣ㄤ笉鏀寔锛岃鎸夌収涓嬮潰姝ラ鎿嶄綔锛?.鎵撳紑娴忚鍣ㄨ缃€?.鐐瑰嚮璁剧疆缃戦〉銆?.杈撳叆锛? + vrl + "鐐瑰嚮纭畾銆?); } } }; // 鍔犲叆鏀惰棌 鍏煎360鍜孖E6 function shoucang(sTitle,sURL){ try { window.external.addFavorite(sURL, sTitle); } catch (e) { try { window.sidebar.addPanel(sTitle, sURL, ""); } catch (e) { alert("鍔犲叆鏀惰棌澶辫触锛岃浣跨敤Ctrl+D杩涜娣诲姞"); } } };