$(document).ready(function(){ $(".touch-toggle a").click(function(event){ var className = $(this).attr("data-drawer"); if( $("."+className).css('display') == 'none' ){ $("."+className).slideDown().siblings(".drawer-section").slideUp(); }else{ $(".drawer-section").slideUp(); } event.stopPropagation(); }); /*$(document).click(function(){ $(".drawer-section").slideUp(); })*/ $('.touch-menu a').click(function(){ if( $(this).next().is('ul') ){ if( $(this).next('ul').css('display') == 'none' ){ $(this).next('ul').slideDown(); $(this).find('i').attr("class","touch-arrow-up"); }else{ $(this).next('ul').slideUp(); $(this).next('ul').find('ul').slideUp(); $(this).find('i').attr("class","touch-arrow-down"); } } }); });

关于我们

$(document).ready(function(){ //弹窗 $('a[rel=imgZoom-group-228971],a[rel=imgZoom-group-title-228971]').fancybox({ 'transitionIn' : 'elastic', 'transitionOut' : 'elastic', 'hideOnOverlayClick': false, 'centerOnScroll' : true, 'overlayColor' : '#000', 'padding' : '0' }); });