Recent Questions
Q: Can you please write me, can I have the active menu button in the javascript menu generator different color display.
A: The 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: What an incredible menu!! I have never seen anything like it.Would it be possible to create a version of the dhtml menu that displays items one level down from the top menu in a 6x4 cell layout (effectively a rectangle) rather than vertically? If so, how much would the customization cost?
A: Yes, you can place the menu to the any part of your html code.Please contact support (at) deluxe-menu.com for the customization rates.
Q: Thank you so much for your time and assistance - I've been charged with this project and still struggling a little. Considering my total ignorance to code, I'm understanding much better now, but could you please take a look at the page and tell me why I now have double menus and how to correct?
A: It happens because at first you call
<SCRIPT src="CHSD Map_files/data.js" type=text/javascript > </SCRIPT >
and then you paste the content of data.js file in your code.
That's why you have two menus on your page.Please, delete one of them.
Q: Do you have documentation for the paramaters for the apycom DHTML menu.
I'm try to figure out how to get a javascript menu link to open in the same window instead of a new window..
["|Legal","http://www.yahoo.com/","","","",,,],
A: You can find more info about menu parameters here:
http://www.dhtml-menu.com/menu/dhtml-sliding-menu-items-info.html
You should write:
["|Legal","http://www.yahoo.com/","","","","_self",,],