Member Login - Search: Sitemap
Current Menu Version: 5.818 dated Monday March 2 2009 Click to Download
Menu Item PropertiesCode
Ref
Details
align36The align property sets the Text Alignment within all menu items.
Values: 'left', 'center' or 'right'
Example: align='center';
bgimage46Inserts a Background Image for each menu item. This property gives the menu a custom made graphic look.
Example: bgimage='background.gif';
clickbgcolor81Changes the background color once the item has been clicked. All valid HTML colornames or hex values can be used here. Note that the hash is needed for all hex value definitions.
Example: clickbgcolor='#FFFFFF';
clickbgimage88
clickclass87
clickcolor80Changes the text color once the item has been clicked. All valid HTML colornames or hex values can be used here. Note that the hash is needed for all hex value definitions.
Example: clickcolor='#333333';
clickfunction62Inserts a clickfunction which is used to fire a custom JavaScript function when an item link is clicked.
clickimage82Inserts an image once the item has been clicked.
Example: clickimage='select.gif';
clickinnerbgimage123
clickrightimage124
clickseparatorimage91
clicksubimage83Changes the subimage once the item has been clicked.
Example: clicksubimage='arrow_on.gif';
closeonclick40Allows the menu to be closed by a click of the mouse on the main menu aswell it automatically closing as the mouse rolls off the selected menu.
Values: 'true', 'false', '0' or '1'
Example: closeonclick=1;
Example: closeonclick=true;
custom115
decoration33Sets the Font Decoration for all menu text. All valid CSS1 & CSS2 text-decoration values can be declared.
Values: 'none', 'underline', 'overline' or 'line-through'.
Example: decoration='underline';
disabled96
dividespan97
dragable86
fileimage79
fontfamily15Sets the Font Family for all menu text. The Font must be present on the local computer otherwise the default browser font will be used. Font Family values can be separated by a comma with a preference to use the first font found.
Example: fontfamily = 'arial, verdana, tahoma';
fontsize12Sets the Font Size for all menu text. Font Sizes can be declared as any valid CSS1 or CSS2 font sizes. Default values are in pixel but em, pt etc can be used providing the value is enclosed in quotes.
Example: fontsize=10; Example: fontsize='75%';
fontstyle13Sets the Font Style for all menu text.
Values: 'normal' or 'italic'.
Example: fontstyle ='italic';
fontweight14Sets the Font Weight for all menu text.
Values: normal or bold.
Other values can be used but have different outputs depending on browser. These are bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
Example: fontweight='bold';
headerbgcolor21Sets the Header Background Color for all header menu items. This will set the backgound color declared for each menu item that has been declared a header. All valid HTML colornames or hex values can be used here.
Example: headerbgcolor='#666666';
headerborder74Allows all of the headerborder property settings for the four borders to be fixed in one declaration for each menu item that has been declared a header. All valid HTML colornames or hex values can be used here.
Example: headerborder='1px solid #000000';
headercolor20Sets the Header Font Color for each menu item that has been declared a header.
Example: headercolor='#999999';
high3dcolor16Sets the High Border Color on 3D Objects for all menus. This is the color for menus and menuitem that have been specified to be 3 dimensional in style. Rather like the way in which Windows 98 menus appear. The High Color denotes the shadow color as a direct hit from the light source.
Example: high3dcolor='#FFFFFF';
hotkey107
id103
image29Sets the Menu Item Image for your menu style. All menu items using this style will include the declared image. Image positioning and alignment can be performed by each menu item.
Example: image='item_background.gif';
imagealign31Sets the Image Alignment for the item image specified above.
Values: 'left', 'center' or 'right' Example: imagealign='left';
imageborderwidth89
imageheight37Sets the Image Height for the item image specified above.
Example: imageheight=20;
imagepadding60Sets the amount of Image Padding around the item image specified above.
Example: imagepadding=5;
imageposition30Will change the position of menu item images. Valid values are top, middle, bottom, left, center or right.
imageurl84
imagewidth38Sets the Image Width for the item image specified above.
Example: imagewidtht=20;
innerbgimage120
itemheight28Sets a specific Item Height for all menu items using the style.
Example: itemheight=28;
itemwidth55Sets a specific Item Width for all menu items using the style.
Example: itemwidth=130;
keepalive41This property allows the menu to remain active when it would normally have disappeared. The active menu will close automatically once a sibling menu is opened.
Values: 'true', 'false', '0' or '1' Example: keepalive=1;
leftimage108
low3dcolor17Sets the Low Border Color on 3D Objects for all menus. The Low Color denotes the shadow color as a shadow, not a direct hit from the light source.
Example: low3dcolor='#000000';
margin68Sets the margin, this is the space between onborder and the item border. This parameter has to be declared in each menu.
Example: margin=4;
menubgcolor93
menubgimage73The menubgimage property sets the image to be used for the entire menu background.
Example: menubgimage='large_background.gif';
menustyle101
nobreadcrumb114
nowrap105
offbgcolor7Sets the Mouse Off background Color for the global style. All menus that use this style will use the declared background color for each menu item in the mouse of state. This color should be used to declare the actual color of the menu.
Example: offbgcolor='#333333';
offborder9Sets the Mouse Off Border Style for the global menu style. The offborder property is used to declare the border width, style and color for each menu item in the mouse off state. Valid CSS parameters for setting borders must be used for this property.
Example: offborder='1px solid #aaaaaa';
This will enable a 1 pixel, solid gray border for each menu item in the mouse off state. This parameter can also be declared in each menuitem.
offclass54Sets the MouseOff Style Sheet Reference for any global menu style. offclass is used to declare a pre-defined Cascading Style Sheet property for each menu item in the mouse off state. Note that this feature will not work in Netscape 4.x due to the static nature of this browser. The properties declared for offclass, will be the default style for the menu.
offcolor8Sets the Mouse Off Font Color for any global menu style. This property declares the font color for each menu item in the Mouse Off state. Valid HTML colornames or Hex values can be used for this property. When using a Hex value, the value must be prefixed by a hash.
Example: offcolor='#000000';
offfunction43The off function parameter is used to declare custom javascripts for menu items. This property allows a javascript function to be fired in the Mouse Off state.
onbgcolor5Sets the Mouse On Background Color for the global menu style. This property declares the background color for each menu item in the Mouse On state. Valid HTML colornames or Hex values can be used for this property. When using a Hex value, the value must be prefixed by a hash.
Example: onbgcolor='#66CC33';
onbold44Sets the Font Weight on Mouse Over for any global menu style. This property sets the menu text to bold in the Mouse On state.
Example onbold=1;
onborder25Sets the Mouse On Border Style for any global menu style. The onborder property is used to declare the border width, style and color for each menu item in the mouse on state. Valid CSS parameters for setting borders must be used for this property.
Example: onborder='1px dashed #ffffff';
This will enable a 1 pixel, dashed white border for each menu item in the mouse on state. This parameter can also be declared in each menuitem.
onclass53Sets the MouseOn Style Sheet Reference for any global menu style. onclass is used to declare a pre-defined Cascading Style Sheet property for each menu item in the mouse on state. Note that this feature will not work in Netscape 4.x due to the static nature of this browser. The properties declared for offclass, will be the default style for the menu.
oncolor6Sets the Mouse On Font Color for any global menu style. This property declares the font color for each menu item in the Mouse On state. Valid HTML colornames or Hex values can be used for this property. When using a Hex value, the value must be prefixed by a hash.
Example: oncolor='#f01f01';
ondecoration26Sets the Mouse On Text Decoration for all menu text. All valid CSS1 & CSS2 text-decoration values can be declared.
Values: none, underline, overline or line-through.
Example: ondecoration='underline';
onfunction42The on function parameter is used to declare custom javascripts for menu items. This property allows a javascript function to be fired in the Mouse On state.
oninnerbgimage121
onitalic45Sets the Mouse On Font Style on Mouse Over for any global menu style. This property sets the menu text to italic in the Mouse On state.
onleftimage110
onpageimage104
onrightimage111
onseparatorimage90
onsubimage48Changes the Mouse On Sub Menu Image for any global menu style. This property, when declared will change the sub menu indicator image in the Mouse On state.
Example: onsubimage='subon_arrow.gif';
onsubimagecss117
opendelay94
openonclick39Allows the menu to be opened by a click of the mouse on the main menu rather than it automatically opening as the mouse rolls over it.
Values: 'true', 'false', '0' or '1'
Example: openonclick=true;
Example: openonclick=0;
overbgimage47The overbgimage parameter allows a second Background Image to appear when in the Mouseover state.
Example: overbgimage='background_on.gif';
overflow106
overimage32Sets the Mouseover Item Image for your menu style. All menu items using this style will include the declared image.
Example: overimage='item_background_on.gif';
padding11Sets the Menu Item Padding for any global menu style. Padding is the amount of white space between the text or other object and the menu item border. Padding values are in pixels.
Example: padding=3;
pagebgcolor19The pagebgcolor parameter sets the Current Page Menu Item background color for any global menu style. This property, when declared, will change the background color of a menu item if the URL matches the current URL. This is useful for indicating to the user where in the menu they need to go to navigate to this page.
Example: pagebgcolor='#ffff00';
pagebgimage69The pagebgimage parameter sets the Current Page Menu Item Image for any global menu style. This property, when declared, will change the background image of a menu item if the URL matches the current URL. This is useful for indicating to the user where in the menu they need to go to navigate to this page.
Example: pagebgimage='current_page.gif';
pageborder75Sets the Current Page Menu Item Border for any global menu style. The pageborder property is used to declare the border width, style and color for each menu item in the current page state. Valid CSS parameters for setting borders must be used for this property.
Example: pageborder='1px dashed #ffffff';
pageclass72The pageclass parameter is used to specify a classname for the Current Page Menu Item for CSS.
pagecolor18Sets the Current Page Menu Item Font Color for any global menu style. This property, when declared, will change the font color of a menu item if the URL matches the current URL. This is useful for indicating to the user where in the menu they need to go to navigate to this page.
Example: pagecolor='#000000';
pageimage56Sets the Current Page Menu Image for any global menu style. Will change the menu image to the declared image if the user has navigated to a page matching the URL in the menu definition.
Example: pageimage='matchimg.gif';
pageinnerbgimage122
pageleftimage112
pagematch77The pagematch property allows you to declare a URL that you can use for 'page' matching.

In other words, the item with a pagematch property will be highlighted if the current loaded page matches the value declared in the pagematch property.

An example of this is:

aI("text=Home;url=/index.php?cat=10;pagematch=/index.php?cat=10;");
aI("text=Home;url=/index.php?cat=10&page=1;pagematch=/index.php?cat=10;");
aI("text=Home;url=/index.php?cat=10&page=2;pagematch=/index.php?cat=10;");

The above items will all highlight because the url properties all match '/index.php?cat=10' - This is very useful for highlighting menu items that have slightly different query strings, that allow for displaying different page content, but are in essence the same page.
pageonclass119
pageoncolor102
pagerightimage113
pageseparatorimage92
pagesubimage85
pointer59The pointer parameter changes the mouse pointer to the declared curser image as it navigates the menu.
Values: auto, crosshair, default, pointer, move, text, wait & help.
Example: pointer='move';
Url can also be used to define a custom curser from a specific location.
Example: pointer=url('first.cur'), url('second.cur'), pointer;
rawcss78The rawcss parameter allows any kind of CSS to be added to the menu.
regexmatch118
rightimage109
separatoralign52The separatoralign parameter sets the Menuitem Separator Bar alignment for any global menu style. This property will alter the menus alignment of separator lines. This feature will only have an effect if the separator width or height has been declared and is smaller than the height or width of the menu it resides.
Values: 'left', 'center' or 'right'
Example: separatoralign='center';
separatorcolor10Sets the Menuitem Separator Bar Color for any global menu style. This property sets the color of the default menu separator line in both horizontal and vertical menus. This property can also be changed inside each menu item.
Example: separatorcolor='#ffffff'
separatorheight49The separatorheight property sets the Menuitem Separator Bar height for any global menu style. This property will change the height of the separator line in horizontal menus only. For this property to have any effect the declared height must be less than the height of the horizontal menu.
Example: separatorheight=10;
separatorimage71Allows a custom separatorimage to be used instead of a standard separator line. This feature will only have an effect if the separator width or height has been declared.
Example: separatorimage='dots.gif';
separatorpadding51Sets the Menuitem Separator Bar Padding for any global menu style. Separator padding will add white space either side of the menu item separator in both horizontal and vertical menus.
Example: separatorpadding=5;
separatorsize27Sets the Menuitem Separator Bar Size for any global menu style. Separator size is the thickness of the separator line in pixels, used for both vertical and horizontal menus.
Example: separatorsize=2;
separatorwidth50Sets the Menuitem Separator Bar Width for any global menu style. This property allows the adjustment of the width of separator lines in vertical menus. The declared width will need to be less than the width of the menu. If not the width of the separator line will render the menu width to suit.
Example: separatorwidth=40;
showmenu3The showmenu parameter allows you to define the menu you wish the menu item to open.
aI('text=Links;showmenu=Links;');
status4The status property is used to add text to the status bar on mouseover.
Example: aI('text=Home;url=http://www.milonic.com/;status=Back To Home Page;');
subimage24Sets the Sub Menu Indicator Image for any global menu style. This property declares the sub menu indicator image for each menu item that contains a showmenu command.
Example: subimage='sub_arrow.gif';
subimagecss116
subimagepadding22Sets the Sub Menu Indicator Padding for any global menu style. This property will add white space to sub menu indicator images. The value for this property is in pixels.
Example: subimagepadding=3;
subimageposition23Sets the Sub Menu Image Position for any global menu style. This property will move the submenu indicator image based on CSS positioning values.
Values: top, left, right, center, middle or bottom. Or a sensible combination of 2 values separated by a semi colon. Note that tall text values must be declared inside quotes. Example: subimageposition='left';
swap3d70The 3d effect declared in high3dcolor and low3dcolor creates a raised effect for the menu and a sunken effect for the menu separators. The swap3d parameter allows the raised and sunken effects to be swapped creating a raised separator bar and a deep-set menu.
Example:swap3d='true';
target35The target property allows you to declare a menu item link destination Values: new, blank Example: target='blank';
targetfeatures57
text1The text property inserts the menu item text. This parameter has to be declared in each menu item that requires visible text.
Example: aI('text=Home;');
tipdelay98
tipfollow99
tipmenu100
title76The title parameter inserts alt text to menu items.
Example: title='Click here';
tooltip95
type34The type property sets the type of menu to be displayed. Changing the type will allow the menu to transform dramatically.
Values: form, dragable, header or tree.
Example: type='dragable';
url2Sets the address a menu item links to.
Example:aI('text=Contact Us;url=http://www.milonic.com/contactus.php;');
valign61The valign parameter adjusts the vertical alignment of the text within the all menus.
Values: top, middle or bottom.
Example: valign='top';
visitedcolor58Sets the text color for items previously visited. The visitedcolor property uses all valid HTML colornames or hex values. Note that the hash is needed for all hex value definitions.
Example: visitedcolor='#B141AA';










Milonic provide full featured pull down web menus for some of the worlds largest companies

Learn about how Milonic's DHTML menus can benefit your site

What does it cost? DHTML Menu prices

Who is using us?
Sample Client list

Bespoke menu design and build service from the Milonic team

Our bolt-on modules provide free optional extras for specialist projects

Free icons and images for all licensed users with our Menu Imagepack

What is Milonic up to at the moment? Check our blog