[jQuery] Re: Assigning CSS 'display:block' by jquery not working

2009-10-11 Thread Caisys
#id ul it takes precedence over simply adding a class to > the element. > Hope that makes sense? > DED > > On Sat, Oct 10, 2009 at 3:02 PM, Caisys wrote: > > > Hi, > > I am trying to display a hidden ul by using the $("id").addClass() > > method. For so

[jQuery] Assigning CSS 'display:block' by jquery not working

2009-10-10 Thread Caisys
Hi, I am trying to display a hidden ul by using the $("id").addClass() method. For some reason the ul stays hidden. Can someone please help me?? Thanks ##mystyle.css ul#sitenav { padding:0; } ul#sitenav li{ display:inline; list-style-type:none; } ul#sitenav li ul{ display:none; } .sele