Recent Questions
Q: I am looking to get the Floating to work for the flash drop down menu.
A: To enable floating feature you should set the following parameters:
var absolutePos=1;
var floatable=1;
Check also that you have dmenu_add.js file in the same folder withdmenu.js file.
Q: After creating a menu using Deluxe Tuner, the exported menu.htm file, when viewed in IE, creates the “To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options…”
What do I do to prevent the menu from causing this error message?
A: You should adjust your browser settings.
Tools/Internet Options/Advanced Options/
and set
"Allow active content from files to run on My Computer".
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
Q: Can you please write me, as I have the active menu button in the drop down menu software 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: For some reason all of the menu items are squished together when I put the js code in my page.
Is my site's CSS overriding the ones set in the menu css? If so how do I get around this?
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css