http://milonic.com/menusample2.php
I have noticed that non of the menu items having titles at the above link. I know how to add a title to a menu item by adding <a title="Home">Home</a>. How do I add the title to Milonic menu items in menu_data.js? Thanks.
Here is the menu item in my menu_data.js, I've tried "title" in the following code, but it didn't work.
aI("showmenu=Home;text=Home;");
How to add menu item titles in menu_data.js?
Re: How to add menu item titles in menu_data.js?
Hi,
You'd just add title= in the aI string. Title is an item property. Below my name are links to the different areas of properties, style which means it is placed in the style section, menu, which places it in the menu like alwaysvisible, orientation... and item, which places the property in the item. They are alphabetized. Many of the style properties are also item properties, so if you set offbgcolor="#000000"; in the style, but in a particular menu you wanted one item to have a different bgcolor, then in the item you could put offbgcolor=#ff0000;
There is also a link to the beginner forum. It has 3 sections on styling and some other quick 'tutorial' areas. They are pretty short and very basic.
Ruth
You'd just add title= in the aI string. Title is an item property. Below my name are links to the different areas of properties, style which means it is placed in the style section, menu, which places it in the menu like alwaysvisible, orientation... and item, which places the property in the item. They are alphabetized. Many of the style properties are also item properties, so if you set offbgcolor="#000000"; in the style, but in a particular menu you wanted one item to have a different bgcolor, then in the item you could put offbgcolor=#ff0000;
There is also a link to the beginner forum. It has 3 sections on styling and some other quick 'tutorial' areas. They are pretty short and very basic.
Ruth