Recent Questions
Q: First let me say that you product is awesome…and it would be even better if I could get it to work. I can't for the life of me get any content to appear. I have followed everything that I could find on your site – but nothing works. I attached all of my relevant files. Any help would be much appreciated.
A: You should set correct selected tab on your page.Please, set
var bselectedItem=0;
Q: Navigation bar code should indicate with on which page I me just considers..
(with anothercolour of the font of the active Link from the navigation, or an underline, bolder font, ...).
A: Deluxe Menu has only two states normal and mouseover,
but you can highlight menu items in two ways:
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,
for example:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript" src="menudir/dmenu.js"<>/script<
>script type="text/javascript"< var pressedItem=3;>/script<
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
Q: One intern design a menu for us using MenuTuner that we bought however Menu doesn’t work in Firefox or netscape.
It works fine in Internet Explorer.
Can you help? I’m attaching the zip file which you can extract and open index.html to see what’s wrong.
A: Try to specify units in "px".
var tmenuWidth = "230px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
Q: When a user clicks on a javascript flyout menu item, I want to run a javascript function.
How can I do this in the data file?
A: You can use your own Javascript code instead standard javascript flyout menu links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];