# Vertical dropdown menu; return to original state?

**URL:** <https://forum.kirupa.com/t/vertical-dropdown-menu-return-to-original-state/204502>\
**Category:** flash\
**Created:** [October 20, 2006, 10:09am UTC](https://forum.kirupa.com/t/vertical-dropdown-menu-return-to-original-state/204502 "2006-10-20T10:09:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![goeiste](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/goeiste/32/2741_2.png) [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Post date:** [October 20, 2006, 10:09am UTC](https://forum.kirupa.com/t/vertical-dropdown-menu-return-to-original-state/204502/1 "2006-10-20T10:09:18Z")

</div>

Hello, I want to make a mune of “x” buttons, and when I click on those butten the menu grows and subbuttons become visible. There is only one thing that I cant yet do: namely when the menu is enlarged and I press on another button, the menu has to return smoothly into its original state first and then perform the second animation. Ive made a couple of pictures to graphically display the “problem”:

This is the original state  
 ![](http://www.xs4all.nl/~karhen/Kirupa/Original.jpg)

Then when I click number one the menu should look something like this:  
 ![](http://www.xs4all.nl/~karhen/Kirupa/Button%20I.jpg)  
Button I has moved upward and buttons II and III have gone slightly downward. The problem however is this: when I now press the second button I want my menu to return into its original state first before going to this state:  
 ![](http://www.xs4all.nl/~karhen/Kirupa/Button%20II.jpg)  
I have no idea how to do this and I hope somebody can help me, because it looks like a promising menu to me ;)…
