currentDiv,
topPosition = 0;
$(container).each(function() {
+ console.log( $(this) );
$el = $(this);
$($el).height('auto');
topPosition = $el.position().top;
if (currentRowStart != topPosition) {
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
rowDivs[currentDiv].height(currentTallest);
+ console.log(currentTallest);
}
rowDivs.length = 0; // empty the array
currentRowStart = topPosition;
}
});
}
- // equalheight('.event-intro-text');
- $('#event-feed-row').fadeTo('slow', 1);
+ equalheight( $('.event.feed-block .event-title-intro') );
+ $('.main-events-container').fadeTo('slow', 1);
});
check_window_width();
$(window).resize(function () {
check_window_width();
- equalheight('.event-intro-text');
+ equalheight( $('.event.feed-block .event-title-intro') );
});
});
- </script>
\ No newline at end of file
+ </script>