Recent Questions
Q: Is there a way to change the indent on the top tree dhtml menu ajax items?
I would like them to be closer to the left margin.
A: Use the following dhtml menu ajax parameter:
var tlevelDX=10;
Q: I have downloaded the trial version of Deluxe Menu and am seriously looking at buyingit. I am trying to go thro the instructions and check out if it meets my requirement.
I am not able to figure out how to equally space out all my menu items on the javascript menu bar.
My menu bar width is fixed at 800 px and I have 7 items - horizontal type. The menuitems widths appear different for the menu items. How do I ensure that all of them are ofequal size ??
A: Set width for the items using Individual styles:
var itemStyles=[
["itemWidth=100px"],
] //style 0
Assign Individual Styles for the menu Items.
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style 0
["Item 2",", "data2.files/icon1.gif", "data2.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style 0
];Q: I’m wondering if there is a way to keep the roll over on the current page for the script drop down menu.
Pleaselet me know if it is possible and what I should do.
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" 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: My question is regarding the single user license. I am currently writing a website for use on my companies intranet. The machine I am writing it on will unlikely be the machine that it eventually lives on, which could also quite possibly change as well. Looking at the instructions for the license, it seems I require a domain name for the key. The problem is that the current machine I am using is not in DNS, & even if it were, the machine that it will eventually live on will not resolve to the same name (if it even will have a DNS entry in our internal DNS server). So, does the license look for the name that is specified from the client browser, or does it look internally on the web server itself? I am wondering if I set the web servers hosts file or httpd.conf to reference the name given in the license key taht will allow me to transfer the menu to another server?
A: You can register the menu for a domain name or for IP address.
In other words, you should register the menu for the domain name thatyou print in a browser's search string, for example:
http://intranet/
http://intranet/folder
http://192.168.0.1