nofel — 2011-08-22T12:14:01-04:00 — #1
Hi folks, i m trying to make a simple nested menu. my problem is when i click on child li's the parent as well as whole menu toggle to hide. i added a class too but its not helping.
anthony_barnes — 2011-08-22T18:57:30-04:00 — #2
You're HTML has some misplaced tags, it should look like:
</ul> <!-- your end ul was in the wrong spot -->
nofel — 2011-08-22T22:29:43-04:00 — #3
anthony_barnes — 2011-08-22T22:44:07-04:00 — #4
Define "not working"
Here is this code. When you click on the parent list item the sub list shows/hides. Perhaps I misunderstood what you are trying to achieve?
nofel — 2011-08-22T22:55:33-04:00 — #5
When i click nothing happens.that what i mean the sript isn't working
anthony_barnes — 2011-08-22T23:06:41-04:00 — #6
Works for me in Firefox (latest), IE 7+, Opera 9+, Chrome (latest), Safari 4+
Like I implied, it would be helpful with a more detailed description of what you are trying to achieve. The grammar you used in your posts makes it difficult to understand.