Thread: Jquery Help
View Single Post
07-04-2008, 02:42 AM
#4
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Add the class="navigation" on the link and it will work

It is listening for clicks with that class on it, notice:
$('#slider .navigation').find('a').click(selectNav);

Or if you like, you can do:
$('#panel').find('a').click(selectNav);
$('#slider .navigation').find('a').click(selectNav);

And it will listen to links inside the panel as well. Hope I have helped