Menu

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

Basic properties

 

Menu caption

The name of the document as it's displayed in navigation. It may be different compared to the document name. If no value is entered, the document name is used.

Show in navigation

Indicates if the document should be displayed in the navigation (in the menus).

 

Please note: the document is displayed in the navigation if all of the following conditions are met:

 

1.The Show in navigation box is checked.
2.The document is published.
3.The type of the document matches the document types configured in the appropriate navigation control (web part) - by default, only Page (menu item) documents are displayed in navigation.
4.If you turn on the Check permissions property of the menu control, the user must be allowed to read the given document so that it appears in the navigation controls.

Show in site map

Indicates if the document should be displayed by the Site map web part (in the dynamic site map).

 

Please note: the document is displayed in the site map if all of the following conditions are met:

 

1.The Show in site map box is checked.
2.The document is published.
3.The type of the document matches the document types configured in the Site map control (web part) - by default, only Page (menu item) documents are displayed in navigation.
4.If you turn on the Check permissions property of the menu control, the user must be allowed to read the given document so that it appears in the navigation controls.

 

Menu actions

 

Standard behavior

The menu item redirects the user to the page as expected.

Inactive menu item

Clicking the menu item doesn't cause any action - the item is disabled. You can enter the alias path of the page which should be redirected to in the Redirect to URL field.

Javascript command

If you enter some JavaScript command, it will be run when this menu item is clicked.

Example: alert('hello');return false;

URL redirection

The user is redirected to the target location when they try to access the given page.

Example: http://www.domain.com or ~/products.aspx

 

Menu design

 

The menu item design properties are available in three alternatives:

 

standard design
mouse-over design - style used when you mouse-over the menu item
highlighted design - style of the selected document

 

These values override the settings of the menu control (web part) and the CSS styles defined in the CSS stylesheet.

 

Please note: some of the following properties may not be applied to the menu control depending on the menu control you are using.

 

Menu item style

Style definition of the menu item. Values can be entered the same way as when defining a CSS class in a stylesheet.

Sample value: color: orange; font-size: 140%

Menu item CSS class

CSS class defined in the website's stylesheet.

Sample value: h1

Menu item left image

Image that will be displayed next to the menu caption on the left side. Sample values as below.

Menu item image

Image that will be displayed in the menu instead of the menu caption. You can enter either an absolute URL or a relative path in the content tree.

Sample values: http://www.domain.com/image.gif

~/Images-(1)/icon.aspx

Menu item right image

Image that will be displayed next to the menu caption on the right side. Sample values as above.

 

Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?menu.htm