# Features

2.0 Buttons by Web-Buttons.com v3.0.0

• Create contextual menus for your pages. For this purpose you should assign a special function for the object you want. The current coordinates of the mouse pointer or your own ones can be used for the contextual menu.
• When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
• Build menus completely based on Cascading Style Sheets. It is possible to appoint the individual CSS styles for separate elements of the menu.

# Recent Questions

Q: I have downloaded the trail version of java menu source, and I am getting script errors.

I am working with the deluxe menu.

Actions:а line 15
Character 9
file://C:\Program Files\Deluxe

I uninstalled, cleared all cache and temporary files, restarted the computer, reinstalled and I still get the same message.

I am convinced this program is exactly what I need, but one step at a time.

A: I suppose that you're using Windows 2000.
We have some problems with Tuner on this OS.

Unfortunately we didn't fix the issue with Windows 2000 yet.

Try to delete all content from toolbar.html file.

Q: I love your product! I used it to create our top level navigation for the initial re-launch of our site in October and am now using Delux-tree to create a left navbar for a secondupdate to our site come Feb. 14th.

I have one question however, is it possible that when I expand "CRM" and then secondly expand "Contact Manager","CRM" then returns back to it's original states drop down menu? Please let me know, thanks!!

A: You should set the following parameter:

var tcloseExpandedXP=1;

Q: I will build menu for several books’ Contents, each book is more than 100 lines and has links. I think if all the books’ contents in 1 *.JS file then it is TOO LOONG!!.
Can I break it down to 1 book for 1*.JS ? How?

But you can do it in two ways.

1) You can try to use several menus on the one page, for example:
param.js // file with menu parameters (all parameters before menuItems = [...];)
In these menu files you should write
...
];
dm_init();

<script type="text/javascript" src="param.js"></script>
<table>
...
...
...

But it will be easier to use vertical menu in such case
var isHorizontal=0;
var smColumns=1;

2) You can also try to add some code, see the attached example.

In the first file (@MY books (Multiple Col.js) I write menuItems for the first item "AC-DC".
Notice that you should delete comma at the end of the last item

["AC-DC","", , , , , , , , ],
["|@Book1","testlink.htm", , , , , , , , ],
...
["|@Book3","", , , , , , , , ],
["||CH02","", , , , , , , , ],
["||CH01","", , , , , , , , ] // delete comma at the end of the last item

];

In the second file (@MY books (1.js) you should write

[

["ANLOG","", , , , , , , , ],
["|@Book1","", , , , , , , , ],
["|@Book2","", , , , , , , , ],
["|@Book3","", , , , , , , , ] // delete comma at the end of the last item

]
);

In the third file (@MY books (2.js) you should write

[

["DIGITAL","", , , , , , , , ],
["|Item 1332","", , , , , , , , ],
["WinXP","", , , , , , , , ],
["|Item 1333","", , , , , , , , ],
["MS-Word","", , , , , , , , ],
["|Item 1334","", , , , , , , , ],
["MS-Excel","", , , , , , , , ],
["|Item 1335","", , , , , , , , ] // delete comma at the end of the last item
]
);

dm_init();

Notice that you should write dm_init(); function in the last file.

In the .html file you should write
...
<tr>
<script type="text/javascript" src="@MY books (Multiple Col.js"></script>
<script type="text/javascript" src="@MY books (1.js"></script>
<script type="text/javascript" src="@MY books (2.js"></script>
</tr>
I hope you understand me.

Q: I would like to know how I indicate on a javascript menu, an item that was selected.
So in other words, if I have a horizontal navigation and I select the 3rd index along the menu
and select something from this, how can I make the 3rd index highlighted?

Deluxe Menu has only two states normal and mouseover.

Try to do the following things:

- delete   var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:

<script type="text/javascript">  var dmWorkPath = "menudir/";</script>
<script type="text/javascript">  var pressedItem=3;</script>
...