# Zoom Navigational Menu Effect

**URL:** https://forum.kirupa.com/t/zoom-navigational-menu-effect/38222
**Category:** flash
**Created:** [December 19, 2003, 4:47pm UTC](https://forum.kirupa.com/t/zoom-navigational-menu-effect/38222 "2003-12-19T16:47:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lomelino](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@lomelino](https://forum.kirupa.com/u/lomelino)
#### Post date: [December 19, 2003, 4:47pm UTC](https://forum.kirupa.com/t/zoom-navigational-menu-effect/38222/1 "2003-12-19T16:47:56Z")

</div>

I am so close to figuring out this effect I’m trying to achieve for a navigation menu. Please provide the final boost to get me there.

The menu I’m after is a horizontal menu across the top of the content. The closer the mouse position is to a particular button, the larger the button becomes. In effect when you have 9 or 10 buttons in a row the zoom effect becomes sort of like the new Mac menu. Another example is [jenniferlopez.com](http://jenniferlopez.com) – great example.

Does anyone know of a tutorial that outlines how to do this.

Here’s what I’m stuck up on… the math.

As I see it there are 3 points. The far left extreme that effects the button scale. The center of the button – which is maximum scale, and the far right of the button’s influence. I’m setting up my factoring of mouse to button proximity using myObject.\_xmouse – this returns the mouse position relative to the button.

No code really to post – the only code that works is the mouse proximity to the button.

Rather than ramble on, does anyone know of or have a tutorial?

Thank you,

Joshua

---

<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: [December 22, 2003, 11:27pm UTC](https://forum.kirupa.com/t/zoom-navigational-menu-effect/38222/2 "2003-12-22T23:27:05Z")

</div>

that’s perfect. Thanks

Joshua
