Recent Questions
Q: I am trying to have the selected top item in the pop up menu remain on the mouseover event after it is selected.
It seemed to be working fine when i was just testing with # as a link
but when i actually linked to different pages it returns to normal.
How do i get this to work?
A: You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
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:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<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.
Q: It is mostly working now except where I have two rows of nav tabs.. The top row opens new pages and the bottom row is just regular div tabs... works fine in IE and Firefox but not Chrome... any ideas?
A: Try to open links in the following way:
var bmenuItems = [
["Overview","link:Sun_Cabo_Services.asp", "", "", "", "", "0", "", "", ],
["-"],
["Villa Services","link:Cabo_Villa_Services.asp", "", "", "", "", "0", "", "", ],
["-"],
["Chef/Cook Services","link:Cabo_Chef_Services.asp", "", "", "", "", "0", "", "", ],
["-"],
["Spa Services","link:Cabo_Spa_Services.asp", "", "", "", "", "0", "", "", ],
]; Q: For some strange reason the border that outlines the java script tab area is missing.
A: You cannot set this border using Deluxe Tabs parameters.
You should set it in the DIVs style.
<div id="ExpenseInformation" style="visibility: visible; width: '800px'; border: 1 solid;" class="tabPage">
Or in the "tabPage" style.
Q: I can't figure out how to change the names of each tab for the simple dhtml tabs!
A: You can set the name of each tab in the Deluxe Tuner.
Double click on the item name in the Items area.
Or set the name of the tab using var bmenuItems:
var bmenuItems = [
["Name of Tab1","content1", "", "", "", "", "1", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Name of Tab2","content2", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Name of Tab2","content3", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Contact us","content4", "", "", "", "", "2", "", "", ],
];