View Single Post
Old 07-01-2010, 02:43 PM   #3 (permalink)
buildakicker
The Acquainted
 
buildakicker's Avatar
 
Join Date: Jan 2008
Posts: 119
Thanks: 21
buildakicker is on a distinguished road
Default Thanks

Yes, that is what I need to do just about. I have multiple nested UL, about 7 deep, so your solution set me in the right direction.

I ended up doing this:
Code:
$(document).ready(function() {
$('ul ul').hide();
	$('ul li a').click(function(){							
		$(this).next('ul').toggle();
	});
});
What I am trying to do now is hide the UL previously clicked on and replace it with the current UL. If you have any thoughts on that, I'd be stoked! I'll post what I come up with.

Thanks again.
__________________
SkiLeases.com
buildakicker is offline  
Reply With Quote