$j(document).ready(function(){
$j('.progrdCol').each(function() {
startListHeight($j('.progrdCol > .productRap'));
});
});
function startListHeight($tag) {
function setHeight(s) {
var max = 0;
s.each(function() {
var h = $j(this).height();
max = Math.max(max, h);
}).height('').height(max);
}
$j(window).on('ready load resize', setHeight($tag));
}
$j('.progrdCol').each(function() {
startListHeight($j('.progrdCol > .productRap'));
});
});
function startListHeight($tag) {
function setHeight(s) {
var max = 0;
s.each(function() {
var h = $j(this).height();
max = Math.max(max, h);
}).height('').height(max);
}
$j(window).on('ready load resize', setHeight($tag));
}
No comments:
Post a Comment