could you explain how to read $("ul", this).slideUp("slow");
the ("ul", this) has me confused. i just want to make sure i learn something from this instead of just copying and pasting code. thanks! On Dec 10, 9:34 am, mojoeJohn <mojoej...@gmail.com> wrote: > thanks so much it worked perfectly!!! > > On Dec 10, 3:38 am, Bideshi <itbide...@gmail.com> wrote: > > > Hi mojeJhon, > > Please try this > > > ----------------------------------------------------------------- > > <script type="text/javascript"> > > > $(document).ready(function(){ > > $("#links ul").hide(); > > $("#links li").hover(function(){ > > $("ul", this).slideDown("slow"); > > }, function(){ > > $("ul", this).slideUp("slow"); > > } ); > > > }); > > </script> > > --------------------------------------------------------------------- > > > On Dec 10, 2:34 am, mojoeJohn <mojoej...@gmail.com> wrote: > > > > sorry i forgot to add the ul in the sublink menus: > > > > here is the correct layout: > > > > <ul id="links"> > > > <li><a href="#">Link Head</a> > > > <ul> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > </ul> > > > </li> > > > <li><a href="#">Link Head</a> > > > <ul> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > <li><a href="#"></a>Sub Link</li> > > > </ul> > > > </li> > > > </ul>