jquery selector
jquery selector
I am a rank newbie. i'm trying to make a simple folding page menu in wordpress, once that expands when you mouseover. the menu is here
http://lpcurriculum.avatarpublication.com
LP Curriculum
write now i am able to load the page closed, and when I mouse over I am able to expand ALL children, but what I really want to be able to do is just expand the children of the currently moused over LI. The code I got now is selecting all children and just expands the whole menu. not what I want?
jQuery(document).ready(function(){
jQuery(".page_item ul").hide();
jQuery('ul li').mouseover(function() {
$('.children').slideDown('slow', function() {
// Animation complete.
});
});
});
can somebody help?