۵۴۶
ویرایش
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۲۴۳: | خط ۲۴۳: | ||
} | } | ||
function align_mp_box(){ | |||
$('.mp-box').each(function(index){ | $('.mp-box').each(function(index){ | ||
if(index%2 === 0) { | if(index%2 === 0) { | ||
خط ۲۶۹: | خط ۲۵۹: | ||
} | } | ||
}) | }) | ||
} | |||
$(createNavigationBarToggleButton); | |||
var mp_y_item_h = 50; | |||
$('.mp-yadbood-item').each(function(){ | |||
if($(this).height() > mp_y_item_h){ | |||
mp_y_item_h = $(this).height(); | |||
} | |||
}) | |||
$('.mp-yadbood-item').height(mp_y_item_h) | |||
$(document).ready(function(){ | |||
align_mp_box() | |||
}) | }) | ||
$(window).on('load', function(){ | $(window).on('load', function(){ | ||
align_mp_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(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
ویرایش