好库网
$(function(){var mlwarpheight=$('.moveleft').height();var movewidth=$('.moveleft').width();$('.classify,.mlwarp').click(function(){$('.moveleft').toggleClass('moveleft_p');$('.moveright').toggleClass('moveright_p');$('.mlwarp').toggleClass('disnone');$(window).scrollTop(0);if($('.moveright').is(':hidden')){$('.moveleft').css({height:'auto'})}});$('.classify').click(function(){var mrtype=$('.mrtype').height()+150;$('.moveright,.mlwarp,.moveleft').css({height:mrtype});$('.mlwarp').css({width:movewidth});if(mlwarpheight>mrtype){$('.moveright,.mlwarp,.moveleft').css({height:mlwarpheight})}})});