Welcome to Axure Community Site Sign in | Join | Help
in Search

Axure

Creating MouseOver Flyout Menus using Dynamic Panels

This article walks through the steps to create dynamic or flyout menus in Axure RP that appear when the mouse is moved over a menu item and disappear when the mouse is moved away from the menu. This particular example will mimic a menu similar to what you would see in a typical desktop application.

Here is the resulting RP file and generated prototype for this menu.

MouseOver Menu Sample RP File

MouseOver Menu Sample Prototype

We start by adding a Rectangle widget to a wireframe (in our example we created a "Header" master). Enter the text "File" and format the fill color and border bolor. You may prefer to use an image here or a button shape.


Then we add a dynamic panel to the wireframe. In the Label field in the Annotations & Interactions pane, label the dynamic panel "File Menu".

Double-click the dynamic panel to open the Dynamic Panel State Manager dialog. Double-click on State1 to edit the first state.

In State1, we design the menu.

Start by adding an image map region that will be in the back surrounding the menu.

Then add the File rectangle widget like we did before and format it to the desired mouseover look. You may want to copy and paste the rectangle widget from before to ensure that this one will be the same size.

On top of that image map region, you can add any widgets including images or button shapes to design the menu, and you can add interactions to any of those widgets as well (i.e. open a page when a button shape is clicked). Leave space around the edges of the menu for the image map region so that the region completely surrounds the menu.

The end result might look something like this.


Select the image map region. Select OnMouseEnter in the Interactions pane and click "Add Case...".

Check "Hide Panel(s)". Click on "Panel" under Step 3 and select the File Menu. Close the dialogs.

Return to the original wireframe and select the File rectangle. Select OnMouseEnter in the Interactions pane and click "Add Case...".

Check "Show Panel(s)". Click on "Panel" under Step 3 and select the File Menu. Close the dialogs.

Move the File Menu panel over the File rectangle so that the File rectangles overlap. Resize the panel as needed.


Right click on the dynamic panel and click Edit Dynamic Panel -> Set Hidden.

Generate the prototype and you should see a working menu.

Here are links to the sample RP file and prototype again. This file includes a neighboring Edit menu that was created by copying and pasting the original menu and editing as needed. Note that the File Menu panel must be on top of Edit menu rectangle to hide properly. This is easily done with a "Bring to Front" on the panel.

An additional flyout was also created for one of the submenu items on the Edit menu in the same way. The "Link to Page 2" menu button in that additional flyout has an interaction to link to Page 2 which does work in the prototype. Also notice that widgets beneath the menus work as designed.

MouseOver Menu Sample RP File

MouseOver Menu Sample Prototype

 

Published Wednesday, October 25, 2006 10:09 AM by victor

Comments

 

phelpsb said:

This is a great tutorial, especially to help mimic more thick client (desktop) behaviors.  I tried making fly out menus on my own, struggled, but did it.  Much less communicate *how* I did it to others.  This will make that a lot easier.

November 10, 2006 2:30 PM
 

AndrewHogg said:

One key aspect that is missing is the following:

If you want to make sure that your flyover windows disappears when you move the mouse off the button (for example) then you need to make sure that you place that button image somewhere close to the middle of the dynamic panel image map region. This allows some portion of the image map region to be to the left and above the image, so when the users mouse leaves the button and enters this region the action to hide the dynamic panel is triggered. If yu leave the button in the top left corner then moving the mouse to the top or left of the button will not make the flyover disappear.

April 4, 2007 11:56 AM
 

Axure said:

This is Part 3 of a 3 part series introducing the new features in Axure RP Pro 4.6 currently in beta

May 22, 2007 2:19 PM
 

trow said:

I'm asked more and more to prototype RIA applications. I use AxureRP to good effect and with a lot of success. However, the companies I work for, (I'm a freelance Information Architect/User Experience Designer in the UK) want to see more animated behaviours e.g. were panels grow/shrink dynamically. This gives a much clearer indication of something new has appeared on the same web page rather than a dynamic panel instantly appearing without animation. I'm not a developer and struggling to create "movement" on my web prototypes. I've even used Powerpoint to try illustrate concepts like these, (it was painful). Does anyone have any ideas how to add richer RIA widgets like those found in FLEX, Ajax, or http://ajaxwidgets.com? Are Axure planning to add these, (soon I hope)?

I really like AxureRP but my clienst are beginning to say my AxureRP prototypes  "look static and last generation" i.e. not web 2.0.... I would be grateful for any advice/pointers. Thanks!

October 14, 2007 7:55 PM
 

victor said:

There are some examples of RIA prototyping in Axure RP in this post:

http://axure.com/CS/blogs/axure/archive/2007/06/29/RIA-_2800_Rich-Internet-Application_2900_-Prototyping.aspx

We are planning to continue to add more widgets and features for high fidelity RIA prototyping and have been thinking about how to introduce higher fidelity transitions.

October 15, 2007 3:58 AM
Anonymous comments are disabled

This Blog

Syndication