# Persistent Navigation example - please streamline this

**URL:** <https://forum.kirupa.com/t/persistent-navigation-example-please-streamline-this/168619>\
**Category:** flash\
**Created:** [November 8, 2005, 7:55pm UTC](https://forum.kirupa.com/t/persistent-navigation-example-please-streamline-this/168619 "2005-11-08T19:55:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradleykal](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bradleykal/32/1447_2.png) [@bradleykal](https://forum.kirupa.com/u/bradleykal)\
**Post date:** [November 8, 2005, 7:55pm UTC](https://forum.kirupa.com/t/persistent-navigation-example-please-streamline-this/168619/1 "2005-11-08T19:55:44Z")

</div>

hi all, I’m always hitting this site up for examples of how coding should be done and for once have something I feel worthy of sharing.

Been working on this for a few days now and have it working, however, not as well as I think it could work. The need is for a semi-dynamic navigation set that determines the current page by a PHP variable from the page it’s embedded on.

The problem is that while it works, I feel it’s a pretty convoluted work-around using an onClipEvent to keep the “active” state active during roll-over / roll outs. There has to be a simpler way to do what I’m trying to do.

All in all, it’s an example hopefully someone can learn from, but more hopefully someone can help to streamline it into a simpler use.

cheers - b
