Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to create dynamic menus and submenus in FrontPage 2003


View products that this article applies to.

Introduction

This article describes how to create dynamic menus and submenus in Microsoft Office FrontPage 2003.

↑ Back to the top


More information

To create a single dynamic menu

To create a single dynamic menu that displays a submenu when you move the mouse pointer over the main menu, follow these steps:
  1. On the Insert menu, click Layer to insert a layer named layer1 on the Web page. Layer1 will become the main menu.
  2. Type some text on Layer1.
  3. Resize Layer1 to the size of a button.
  4. Put the insertion point in layer1. On the Insert menu, click Layers to insert a new layer named layer2. Layer2 will become the submenu that is displayed when the pointer is moved over layer1.
  5. Type some text on layer2.
  6. Put layer2 underneath layer1.
  7. If the Task Pane is not visible, click View, and then click Task Pane.
  8. Click Layers in the Task Pane list.
  9. In the Layer Visibility column, click one time for layer2. The icon of an open eye is displayed.
  10. Click the icon of the open eye to hide layer2. The icon of a closed eye is displayed next to layer2.
  11. Click layer1 in the Layers list. Then, in the Task Pane list, click Behaviors.
  12. In the Behaviors pane, click Insert, and then click Change Property.
  13. Click Select Element, and then click layer2 in the Element ID list.
  14. Click Visibility, click Visible, and then click OK two times.
  15. In the Events list that is located in the Behaviors pane, click onmouseover.
  16. In the Task Pane list, click Layers.
  17. Click layer2. Then, in the Task Pane list, click Behaviors.
  18. In the Behaviors pane, click Insert, and then click Change Property.
  19. Click Select Element, and then click layer2 in the Element ID list.
  20. Click Visibility, click Hidden, and then click OK two times.
  21. In the Events list that is located in the Behaviors pane, click onmouseout.
  22. Save the page. Then, preview the page in a Web browser.

To create multiple menus that are similar

To create multiple menus that are similar, copy the two layers that made up the menu that you created in the "To create a single dynamic menu" section. Then, paste the layers onto the page several times depending on the number of menus that you want to appear on the same page. FrontPage creates all the layers and automatically names the layers. For example, FrontPage names the layers layer3, layer4, and so on. To customize each menu, follow the steps in the "To create a single dynamic menu" section. For more information about how to create dynamic menus, click the following article number to view the article in the Microsoft Knowledge Base:
825545 How to create and modify a redirection drop-down list box in FrontPage 2003

↑ Back to the top


Keywords: KB902326, kbhowto, kbnewfile, kbmenu

↑ Back to the top

Article Info
Article ID : 902326
Revision : 4
Created on : 7/5/2005
Published on : 7/5/2005
Exists online : False
Views : 325