Onno Timmerman schreef:
> I got in html
> 
>   <ul style="">
>        <li id="l0">
>           lorum ipsum
>          <p id="f0">
> 
<<<<<cut >>>>>>>
> 
> ul p {display:none;}
> ul ul {display:none;}
> 
> In jquery I give:
> 
> $("li").click(function(){$(this).find("p").show("slow");
>               $(this).next("ul").show("slow");
> 
> Seems to work correct however the problem is! ::
> 
>       the second ul get a style like this.
> 
> <ul style="overflow: hidden; display: block; height: 480px; width: 
> 492px; opacity: 0.9999;">
> 
> 
> the height seems always wrong to show everthing of the ul.
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 

-- 



Ok I solved this but it dosn't work for IE. IE won't even show the next 
ul li entrys and stops at P

  $("li").click(function(){$(this).find("p").fadeIn("slow");
                       $(this).next("ul").fadeIn("slow");
                       $(this).parents("ul").css("height", "auto");
                                });

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to