Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I want to add jQuery dropdown effect to the menu shown here:

http://jsfiddle.net/5KRjN/

Any Slide or Toggle effect !!

Please help

share|improve this question
jquery.com, happy learning – Damien Pirsy Oct 18 '12 at 7:12

closed as not constructive by undefined, Jack, Damien Pirsy, hjpotter92, j0k Oct 18 '12 at 7:21

As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

1 Answer

up vote 3 down vote accepted

You can do this just by adding a style properties for inner li tags.

Html code should be like,

<div id="snaznav">
    <ul>
        <li><a href="#" id="home">Home</a></li>
        <li>
            <a href="#" id="about">About</a>
            <ul>
               <li style="display:block; float:none;"> <a href="#">Submenu1</a></li>
               <li style="display:block; float:none;"> <a href="#">Submenu2</a></li>
               <li style="display:block; float:none;"> <a href="#">Submenu3</a></li>
            </ul>
        </li>
    </ul>
</div>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.