Recent Questions
Q: Why can't I have more than 5 buttons in Vista 1?
If I add any the color proporties do not show up.
A: You should assign Individual style to the new item.
Please, click on the new item.
In the window "Item Parameters" you should assign to Item Style"Top Item".
Q: I have downloaded the trial version of Deluxe Menu and am seriously looking at buyingit. I am trying to go thro the instructions and check out if it meets my requirement.
I am not able to figure out how to equally space out all my menu items on the javascript menu bar.
My menu bar width is fixed at 800 px and I have 7 items - horizontal type. The menuitems widths appear different for the menu items. How do I ensure that all of them are ofequal size ??
A: Set width for the items using Individual styles:
var itemStyles=[["itemWidth=100px"],] //style 0
Assign Individual Styles for the menu Items.
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style 0
["Item 2",", "data2.files/icon1.gif", "data2.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style 0
];
Q: Hi there ... a while ago I had asked you what I need to change to prevent exit pops from being activated, but I don't think it's working.
For example, a regular link that I want:
onClick="exit=false"
How do I do it with dhtml vertical menu?
Before, in the "text" box in the "Item Parameters" window, you had me do the following:
<span onClick='exit=false;'>click here</span>
But that doesn't seem to work. Any other suggestions? Thanks very much.
A: I suppose that you should move menuItems from the data file to yourhtml page directly (where you define exit variable).
<script>
menuItenms = [
...
],
</script>
Q: How do I disable the menu link for the page that is currently being displayed? I don’t the menu item removed, I just want the link to be inactive and possibly a different color.
A: To disable items you should set the target parameter to "_".
Unfortunately, Deluxe Menu doesn't have such a feature.
You should write your own code, for example, on PHP.
You can try to use the following function
function disable() {
dm_ext_changeItem(1, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
The example you can find on our site
http://www.deluxe-menu.com/dynamic-functions-sample.html