Recent Questions
Q: Do you by chance have an example of the java popup menu working with XML?
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files, so,you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- Deluxe Menu -->
<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>
<!-- (c) 2008, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:http://deluxe-menu.com/rq-loading-bar-MySQL-support.htmlQ: I have in my script the following entry
<script type="text/javascript" language="JavaScript1.2" src="resources/deluxe-menue/dmenu.js"></script>
<noscript><a href=http://deluxe-menu.com/>(c)2008 Javascript Menu by Deluxe-Menu.com</a></noscript>
but I get the notice "Incorrect Copyright" in my double drop down menu. What did I make wrong?
A: You should write NOSCRIPT tag in the following way:
<noscript><a href="http://deluxe-menu.com">(c)2008 double drop down menu by Deluxe-Menu.com</a></noscript>
Make sure that you're using last version of Deluxe Menu.
You can download last version of Deluxe Menu from the same link inyour license message.
Q: There is the possibility in the menu that an item has access control, that is is visible or not depending of the user?
A: You can use Javascript API and write your own code.
See more info here:
http://deluxe-menu.com/functions-info.html
You can use
dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
to disable your items or
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
to hide your items.
Q: Is this possible to make the background of item in a free dhtml menu fully transparent sothat the page below it is fully visible.
A: Yes, it is possible.
You can set the following parameter:
var menuBackColor="transparent";