Recent Questions
Q: Hi, I was wondering if there is a way to leave a main java swing menu bar item highlighted when in that section. For example if I clicked on "Contact Us" and when I am on the contact us page, the "Contact us" navigation would still be highlighted. I appreciate any help you might have, thanks! 
A:  The java swing menu bar has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can 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 java swing menu bar 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: How to include the search box in the navigation menubar? 
A:  Use the following javascript menu parameter to enable/disable the "search support" for the Deluxe menu:
  var dmSearch=2; 
0-nosearch; 1-ordinary search (within one level of submenus only); 2-recursive (within the whole menu).
Set item's link to "search:", for example:
 ["","search:value='search...' style='border:1px;width:60px;height:14;font-size:10px;'", "", ],
Q: It's been couple of months since I last time asked something about tree menu. I am still evaluating the software.
 I have a short question. Is it possible to use CSS instead of JavaScript to tune the look and feel of the tree menu? For example I would be interested in giving menu css java item height value in relative numbers (em or %) rather than specifying a size in pixels... 
A:  But actually you can use 'em' and '%' units in Deluxe Tree, forexample.
  var tmenuWidth="13em";
  var tmenuHeight="12em";
  var tmenuWidth="35%";
  var tmenuHeight="15em";
Q: How can I have the option for the navbar tabs that initiated the action highlighted once the new page is reloaded?
I want to highlight the tab which is done with 'bselectedItem', please tell me about thesub-tab option.
A: See you cannot create subitems in:
  var tabMode=0;
it is not correct.
You should set
  var tabMode=1;
The following parameters set the pressed items for top items andsubitems:
  var bselectedItem=0; //top items
  var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete   var bselectedItem=1; and   var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript">  var bselectedItem=3;
   var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>