0

Hello,

I am trying to create a menu that slides up when a button is clicked.

I looked at a lot of tutorials of animate and slide but nothing works for me.

I hope someone can help.

What I need is a button that says: Click for Menu and when this button is clicked I need the menu (ul list) to display above the button and on top of the content under it. So I don't want the content to move.

For example:

<div id="content">
Text for content here

<ul class="menu">
    <li><a href="about">A</a></li>
    <li><a href="about">B</a></li>
    <li><a href="about">C</a></li>
</ul>
<a href="#">Click for Menu</a>
</div>

When the Click for Menu link is clicked the menu will slide from the button up above everything.

Hope you understand what I mean.

Can someone please help?

2
Contributors
2
Replies
23
Views
4 Years
Discussion Span
Last Post by cgull
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.