# Menu with slider

**URL:** <https://forum.kirupa.com/t/menu-with-slider/152232>\
**Category:** Uncategorized\
**Created:** [June 22, 2005, 8:22am UTC](https://forum.kirupa.com/t/menu-with-slider/152232 "2005-06-22T08:22:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jure](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jure](https://forum.kirupa.com/u/jure)\
**Post date:** [June 22, 2005, 8:22am UTC](https://forum.kirupa.com/t/menu-with-slider/152232/1 "2005-06-22T08:22:44Z")

</div>

Hello, everyone!

I’m new to this forum, to AS and everything. I have a short question:

I made menu with slider like in tutorial on [kirupa.com](http://kirupa.com) and everything is ok. But how to change the width of the slider if the buttons don’t have the same size? I know how to do it, but how to do it animated. Example: button1 is 150px wide (and slider also), button2 is 110 px wide - how to make slider (when sliding from button1 to button2) smaller (animated).

Thanks.
