Recent Questions
Q: I have a question about your code for drop down menu; I was searching the internet for some programs that could generate a good menu for me. I came across your program deluxe tuner. It said it was freehowever it seems as if you need another program to get this one to work although it looks like deluxe tuner does everything I need to do. Anyways I am having a serious issue. The program generates the navbar perfectly fine, the problem is getting it to import into my web page. I tried the instructions below in dreamweaver CS3 severaltimes. I then tried to do it to a blank web page still nothing. I go into the source code and paste the code that this program generates exactly where I am told to place it then I also place the other code where I would like the navbar to be. Nothing happens I preview my site and I just get a blank page??? I placed the source files under the root of the web folder; I double checked the code to make sure that it is pointing to the source files. The Main .Js file sits in the root folder the same folder that the page is in, and the other .js files sit under a folder called “ NavBar.files “ that deluxe tuner generated for me.What could I possible be missing?? If I need to pay for the program I defiantly will but not until I get an answer on this question. 
A: Your installation seems to be correct.
Please, check that you have all files for the code for drop down menu in the correctplaces, for example:
 NavBar.files/
 dmenu.js
 ....
 *.gif
 ...
 index.html
 NavBar.js
Try also to set exact width for the code for drop down menu, for example:
  var menuWidth="400px";
Q: One other question, how do you get the menu bar to highlight and stay on the page you are viewing rather than highlighting home the whole time. 
A: You should 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.
Q: I have to find out, how the javascript tree control is NOT expanding in the beginning.. 
A: 	You should set the following parameter:
  var texpanded=0;
Use + signs before items text to expand some items:
 ["+Land","", "", "", "", "", "", "0", "", "", ],Q: Is there a way to hide a menu options in the navigation menu using either CSS or the java api based on the site user?
A: Deluxe Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
 dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
 }
to disable your items.