# Slide in Nav bar

**URL:** <https://forum.kirupa.com/t/slide-in-nav-bar/22864>\
**Category:** Uncategorized\
**Created:** [June 9, 2003, 7:49pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864 "2003-06-09T19:49:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![543312](https://avatars.discourse-cdn.com/v4/letter/5/ea5d25/32.png) [@543312](https://forum.kirupa.com/u/543312)\
**Post date:** [June 9, 2003, 7:49pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/1 "2003-06-09T19:49:05Z")

</div>

Please see:

[http://www.ericd.net/slidingNav3.html](http://www.ericd.net/slidingNav3.html)

The Nav. bar is at y=281(bottom target) when it first enters the screen. What kind of code should I put in so that it will be seen moving up to y=230(top target) when it first enter into screen, then move down and up on mouse rollover and out like it used to be?

I tried put in following code below Line 33:

If (this.\_y\>230){  
this.\_y -=5;  
}

This does made the Nav. bar moving up on entering. But the bar no longer stay at top and bottom target–it just stays higher than both top/buttom targets on mouse rollover and out.

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 9, 2003, 7:57pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/2 "2003-06-09T19:57:12Z")

</div>

Why did you post this in the Best of Forum? Please Post your questions in the Flash MX, Flash 5, or Flash Actionscirpt forums. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 12, 2003, 4:58pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/3 "2003-06-12T16:58:08Z")

</div>

Take a look at this and see if this helps you any

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 12, 2003, 5:46pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/4 "2003-06-12T17:46:02Z")

</div>

That is a cool menu slider thingy, where did you get it from?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 12, 2003, 5:49pm UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/5 "2003-06-12T17:49:23Z")

</div>

A programer “Nathin Amick” helped me program it for a cd I did for this site. [www.graphicscene.com](http://www.graphicscene.com). It was also on the first MX Dev Resource Kit

Seth E.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 15, 2003, 2:49am UTC](https://forum.kirupa.com/t/slide-in-nav-bar/22864/6 "2003-06-15T02:49:31Z")

</div>

Thanks, Seth.  
I wanted the menu slide in to the right first when it first enter the screen. I thought it’d be a simple fix, but I was wrong.  
But thanks anyway for the .fla.
