Recent Questions
Q: I fixed that problem, but if you look at the website, I have the first 2 links in the javascript sliding menu set to show up in the mainframe but nothing happens. When I open deluxe menu on my computer, it also shows that I have the third link set up to show in the mainframe too but when I upload it to the website, it acts like it's not pointing to any file/url
A: Now you have:
["Home","main.html", "", "", "", "#mainframe", "", "", "", "", "", ],
["County Departments","dept.html", "", "", "", "#mainframe", "", "", "", "", "", ],
["Board Members","", "", "", "", "mainfrm", "", "", "", "", "", ],
It is not correct to set target as "#mainframe". You should write"mainframe":
["Home","main.html", "", "", "", "mainframe", "", "", "", "", "", ],
["County Departments","dept.html", "", "", "", "mainframe", "", "", "", "", "", ],
["Board Members","", "", "", "", "mainframe", "", "", "", "", "", ],
Q: Is there a way to hide a javascript top menu options using either CSS or the java api based on the site user?
(I use ColdFusion for scripting)
A: Deluxe Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.
Q: Firstly I'd like to say it looks like a great product. Something that would definitely be of use for our corporate intranet. But first! I have a problem with the evaluation.
I'm trying to get a click/context menu from clicking an image but no matter what I try the following .htm file errors with object required on line 15. I've read your examples / source over and over again but no joy - If I just display the menu with the usual <script> menu.js etc. entry it works but not with a popup?
Please please help if you can?
PS I've set the popupMode variable to 1 in the menu definition file.
A: The installation of your Popup menu is not correct.
If you have only one menu on your page you should write
<img src='images/note.gif' oncontextmenu='return dm_popup(0 ,2000 ,event );'>
You should also copy dmenu_popup.js file into the same folder withdmenu.js file.
More info you can find here:
http://deluxe-menu.com/popup-mode-sample.html
Q: I have created a test page using deluxe menu and would like the menu to appear in the centre of a frame. I have tried usind <div> and <table> tags and while either gives correct results with Internet Explorer, neither gives correct results with Mozilla.
A: Try to set exact value for menuWidth, for example:
var menuWidth="130px";