// JavaScript Document jQuery(".menu").slide({ type: "menu", titCell: ".nli", targetCell: ".sub", effect: "slideDown", delayTime:300, triggerTime: 0,returnDefault: true }); /*手机导航js*/ iHei=$(window).height(); $("#menuph").click(function(){ "use strict";/*进入严格模式标语*/ $(this).find(".point").toggleClass("active"); $(".pf_menu").slideToggle(); $(".pf_menu_bg").fadeToggle(); $('.pz_top').toggleClass('on'); }); $('#navSlide .nli p').on('click',function(){ if($(this).parent().hasClass('on')){ $(this).parent().removeClass('on'); $(this).next().stop().slideUp(); }else{ $(this).parent().addClass('on'); $(this).next().stop().slideDown(); $(this).parent().siblings().removeClass('on'); $(this).parent().siblings().find('.l2_ul').stop().slideUp() } }) $('#navSlide .nli .l2').on('click',function(){ if($(this).hasClass('on')){ $(this).removeClass('on'); $(this).find('.l3_ul').stop().slideUp(); } else{ $(this).addClass('on'); $(this).find('.l3_ul').stop().slideDown(); $(this).siblings().removeClass('on'); $(this).siblings().find('.l3_ul').stop().slideUp() } }) if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){ //new WOW().init(); var wow = new WOW({ boxClass: 'wow', // default 盒子类名 animateClass: 'animated', // default 为animate.css触发css动画的库 offset: 0, // default 偏移量 只能添加数字 距离底部 mobile: false, // default 是否支持手机 live: true // default 检查新元素 }) wow.init(); }; $('.link_2').click(function(){ $(this).find('ul').slideToggle() $(this).toggleClass('on') }) window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{"bdSize":24}};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)]; $(document).ready(function() { $('a,li').on('click touchend', function(e) { var el = $(this); //var link = el.attr('href'); window.location = link; }); });