Thanks did that and seems to be fine many thanks
Si
On Jun 26, 2:38 pm, simon 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 to the tot
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
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 an
3 matches
Mail list logo