مدیاویکی:Common.js: تفاوت میان نسخه‌ها

۲۴۸ بایت اضافه‌شده ،  ‏۱۱ ژانویهٔ ۲۰۱۸
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۲۵۸: خط ۲۵۸:
             $(this).css('min-height', that_height);
             $(this).css('min-height', that_height);
         }
         }
    });
}
function align_box(){
    $('.equalizer').each(function(){
        var this_height = $(this).outerHeight();
        $(this).next('min-height', this_height)
        $(this).prev('min-height', this_height)
     });
     });
}
}
خط ۲۷۴: خط ۲۸۲:
$(document).ready(function(){
$(document).ready(function(){
   align_mp_box();
   align_mp_box();
  align_box();


   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
خط ۲۸۸: خط ۲۹۷:
$(window).on('resize', function(){
$(window).on('resize', function(){
     align_mp_box();
     align_mp_box();
    align_box();
});
});


۵۴۶

ویرایش