Menu

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

This dialog allows you to specify how the current document is displayed in the navigation.

 

General properties

 

Menu caption

The name of the document as it's displayed in navigation. It may be different 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 navigation 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 action

 

You can choose from the following menu item behavior options:

 

Standard behavior

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

Inactive menu item.

The menu item click doesn't raise any action - the item is disabled. This option is useful if you need to create a menu item for the main section in the drop-down menu that cannot be clicked, but the sub-items can be clicked.

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 the menu item of this document is clicked.
Example: http://www.domain.com or ~/products.aspx

 

 

Menu item design properties

 

The menu item design properties are available in three alternatives:

 

standard design
mouse-over design - 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 web site'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/devguide/index.html?document_properties_menu.htm