You're welcome, I'm glad I could help. Try $('ul.first a, ul.second a, ul.third a').click(function(){
cheers, - ricardo On Jan 6, 1:58 am, yvonney <yvonn...@gmail.com> wrote: > I got 2 of the 3 menusections to work simply by duplicating the code 2 > more times and changing the ULs to second and third. The last one (3rd > section) only has one menu item in it and doesn't seem to change. I'll > play with that. I kept all the additions in the same script of course. > > There may be a more elegant way to accomplish this though I haven't > found one. Ideas welcomed of course. > To use less code I tried modding this line, to this: > > $('ul.first ul.second ul.third a').click(function(){ > > and tried similar logical attempts in this one line, though had to > repeat the code entirely to get it to work as much as it has, for the > first and second sections anyways: > > Also, the 'landing' surround <li>s don't do anything, though that > another thing and not a problem overall right now. > > I'm very very very happy. > Considering how many of us are looking for answer here I wish everyone > the best with their projects and feel fortunate to have what I need > for now!!!