CMSListMenu |
CMSListMenu control allows you to create a large variety of menus. It renders <UL> and <LI> tags and the design depends only on your CSS style sheet. This menu control provides several advantages:
However, it requires advanced knowledge of CSS as it doesn't render any specific layout by itself.
See also: Using macro expressions in menu items, Using the CSSPrefix property for design of sub-menus
Inherits: CMSMenuProperties - common properties
Properties
Methods
Design
You can modify the design using the following CSS styles if the RenderCssClasses property is set to true:
See also Using the CSSPrefix property for design of sub-menus to find out how to set different styles for particular menu levels.
Examples
Simple menu without styles
This example will show you how to display a simple menu based on the CMS content.Then, you will see how different CSS styles can render different menus.
Creating a Horizontal Drop-Down Menu Using CSS Styles
Now we will modify the CSS style of the menu so that it displays a horizontal drop-down menu.
Creating a Vertical Drop-Down Menu Using CSS Styles
Now we will modify the CSS style of the menu so that it displays a vertical drop-down menu.
|