# Dynamic navigation?

**URL:** <https://forum.kirupa.com/t/dynamic-navigation/240092>\
**Category:** Uncategorized\
**Created:** [September 28, 2007, 11:49pm UTC](https://forum.kirupa.com/t/dynamic-navigation/240092 "2007-09-28T23:49:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibble](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jibble/32/2265_2.png) [@jibble](https://forum.kirupa.com/u/jibble)\
**Post date:** [September 28, 2007, 11:49pm UTC](https://forum.kirupa.com/t/dynamic-navigation/240092/1 "2007-09-28T23:49:30Z")

</div>

so i am working on some buttons that are arranged in a vertical group. When you click on one it expands pushing the others away, and collapsing when clicked again bringing them back together.

I thinking it would be easiest to make each button how i want it, then have some code that keeps each button x pixels away from each other…make sense?

how would i go about the code to make this happen?
