[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread Liam Byrne
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

[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread simon
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

[jQuery] Re: Variables in IE ahhh!

2009-06-26 Thread simon
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