123456789101112131415161718192021222324252627282930 |
-
-
-
-
-
-
-
-
-
- var oHeight=$('.shipin_bf').height();
- $('.shipin_bf').on('click','.max-btn',function(){
- var max= $(this).data('pop');
- if(max==1){
- var big_height=$(window).height()-50;
- var big_width=$(window).width();
- $('.shipin_bf').css({'width':big_width+'px','height':big_height+'px','position':'fixed','top':'50px','left':'0','z-index':'99'});
- $(this).data('pop','0');
- $(this).css({'backgroundImage':'url(/~static/www/img/min-btn.png) top: -54px;'});
- $(this).attr('title','最小化');
- }else{
- $('.shipin_bf').css({'width':'740px','height':oHeight+'px','position':'relative','top':'0'});
- $(this).data('pop','1');
- $(this).css({'backgroundImage':'url(/~static/www/img/max-btn.png) top: -40px;'});
- $(this).attr('title','最大化');
- }
- });
|