# How to Have Submenu Animations?

**URL:** <https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084>\
**Category:** Ask the community\
**Tags:** design, code\
**Created:** [July 22, 2021, 9:38pm UTC](https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084 "2021-07-22T21:38:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajanistella](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ajanistella/32/14328_2.png) [@ajanistella](https://forum.wixstudio.com/u/ajanistella)\
**Post date:** [July 22, 2021, 9:38pm UTC](https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084/1 "2021-07-22T21:38:24Z")

</div>

Hi,

I was wondering how to create animations to make it more smooth when the submenu is revealed. This could either be natively or with Velo. Please refer to the short clip below for more clarity on what I mean.

[https://us1.discourse-cdn.com/wix/original/1X/d43b2ce8e4c990a17309d60d990b60a1854d3b68.mp4](https://us1.discourse-cdn.com/wix/original/1X/d43b2ce8e4c990a17309d60d990b60a1854d3b68.mp4)

On that website, as you can see, when you hover over the menu item, the subpage menu smoothly fades in, and then smoothly fades out on hover out. How can I replicate this on Wix?

Thanks!

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [July 23, 2021, 4:15am UTC](https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084/2 "2021-07-23T04:15:56Z")

</div>

```javascript
$w('#myElementID').show( ) // <-- without animation
$w('#myElementID').show('fade') // <-- with --> fade <--- animation
$w('#myElementID').show('float') // <-- with --> float <--- animation

```

---

<div class="post-metadata">

**Author:** ![ajanistella](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ajanistella/32/14328_2.png) [@ajanistella](https://forum.wixstudio.com/u/ajanistella)\
**Post date:** [August 10, 2021, 5:08pm UTC](https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084/3 "2021-08-10T17:08:12Z")

</div>

@russian-dima sorry for the delayed reply. Thank you for the quick response. However, this is not what I’m talking about. I’m talking about when using the native menu element and the built-in subpages, how can I get an animation for the subpages?

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [August 14, 2021, 11:12am UTC](https://forum.wixstudio.com/t/how-to-have-submenu-animations/37084/4 "2021-08-14T11:12:01Z")

</div>

You already said it → built in elements are in most cases not very flexible and customizable. If you do not have the built-in options, then IT’s probably not possible.

What you can do, is to create your own animated menu.
