How to add menu item titles in menu_data.js?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
misty
Beginner
Beginner
Posts: 9
Joined: Fri Sep 28, 2007 2:34 am

How to add menu item titles in menu_data.js?

Post by misty »

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;");
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: How to add menu item titles in menu_data.js?

Post by Ruth »

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
Post Reply