Recent Questions
Q: I would like the button in the sub navigation bar to stay white when you navigate to a particular page..
A: 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: Hello, I am using your tabs product inside an ASP.NET AJAX update Panel. The problem is, after an async postback occurs, the php dhtml menu tabs no longer show. Do I need to make user a specific function is called/registered??? Please help.
A: Try to call your data files (files with php dhtml menu parameters) once again after each request.
Q: I've got an xp style menu that I'm trying to place within a table... Things are not rendering as I'd expect
I am trying to put the menu in the left column of the table, a form on the right side, and then center the entire table.
The html table is surrounded by a center tag (have tried a div tag with no difference).
It appears the xp menu is obeying the center tag, but not keeping it relative to the containing table...
How can I fix this issue? I have also attached the html source code as it is rendered in the browser in case that is of some use.
A: You should set the following parameter:
var tabsolute = 0;
You're using absolute position for the menu now.
Q: Where can I change the font size in the main deluxe menu's (i.e. Products, About, Contact Us)?
Using the deluxe tuner doesn't allow me change this font or the size, so the submenu's are bigger than the top.
A: You can also check Individual Item Styles. May be you set font sizefor the top items using Individual Item Styles.