You're checking the css attribute : height
$container.find('div.listContainer ul').css('height');
If that's set to auto, then that's what will be returned.
What you want is the ACTUAL height.
$container.find('div.listContainer ul').height();
L
simon wrote:
I have this hover function and
thanks for tthe reply for got to say, before this I was finding the
height out of my UL by going through all th eli heights then adding it
to the ul
// find the height of each li and add it to the total
$listItems.each(function (i){ ulHeight += parseInt($(this).css
('height'));});
// once total
Thanks did that and seems to be fine many thanks
Si
On Jun 26, 2:38 pm, simon si...@uvfx.tv wrote:
thanks for tthe reply for got to say, before this I was finding the
height out of my UL by going through all th eli heights then adding it
to the ul
// find the height of each li and add it
3 matches
Mail list logo