var make_equal_height = function (element) { var $within = jQuery(element), selector = $within.attr('data-equal-height'), $children = jQuery(selector, $within), tallest = 0;
$children.each( function() { var $this = jQuery(this);
$this.css('min-height', ''); var h = $this.height();
if ( h > tallest ) { tallest = h; } });
$children.each( function() { jQuery(this).css('min-height', tallest + 'px'); });
};
ثلاجات بمجمدة علوية
423
jQuery('.default_product_display').hover(function(){ jQuery(this).find('.shade').animate({bottom:'-3px', height:'3px'}, 200); jQuery(this).find('.shade').find('div').animate({bottom:'-3px', height:'3px'}, 200); },
function(){
jQuery(this).find('.shade').animate({bottom:'-5px', height:'5px'}, 200); jQuery(this).find('.shade').find('div').animate({bottom:'-5px', height:'5px'}, 200); });
function gridClick(){ jQuery('.view_switcher').find('.grid').addClass('active'); jQuery('.view_switcher').find('.list').removeClass('active');
jQuery.cookie("listing_view", null); jQuery.cookie("listing_view", 'grid');
jQuery('.wpsc_default_product_list').fadeOut('fast', function(){ jQuery('.wpsc_default_product_list').removeClass('list');
jQuery('.wpsc_default_product_list').addClass('grid'); jQuery('.wpsc_default_product_list').fadeIn('fast', function () { make_equal_height(jQuery('.pr_line')); }); });
}
jQuery('.view_switcher').find('.grid').click(gridClick);
function listClick(){ jQuery('.view_switcher').find('.list').addClass('active'); jQuery.cookie("listing_view", null); jQuery.cookie("listing_view", 'list'); jQuery('.view_switcher').find('.grid').removeClass('active'); jQuery('.wpsc_default_product_list .pr_line .default_product_display').each(function(){ jQuery(this).removeAttr('style'); });
jQuery('.wpsc_default_product_list').fadeOut('fast', function(){
jQuery('.wpsc_default_product_list').removeClass('grid'); jQuery('.wpsc_default_product_list').addClass('list');
jQuery('.wpsc_default_product_list').fadeIn('fast'); });
}
jQuery('.view_switcher').find('.list').click(listClick);
var windowsize = jQuery(window).width(); if (windowsize <= 1024) { listClick(); } else { if(jQuery('.grid').size() != 0) make_equal_height(jQuery('.pr_line')); }
Shownic Smart ACs are equipped with WIFI technology, when connecting to the intelligent terminal, Customers can enjoy fun and convenience of remote control via smartphones, tablets (supports Android and IOS) and other mobile terminals to control AC at anytime and anywhere.