I'm trying to use some jQuery to set the left and right columns of my product and catalog pages (with a class of .columns
) to the height of my #detail
<div>
which has some data pulled from a SQL database.
So, I am using this jQuery code:
$(document).ready(function() {
detailHeight = $('#detail').css('height');
columnHeight = detailHeight + 10;
$('.columns').css('height', columnHeight 'px');
});
My page is here: http://www.marioplanet.com/product.asp?IDnum=1
For some reason, the heights are not coming out properly..
Any ideas as to why?
Thanks!