Recent Questions
Q: Do you have a template example of creating menu javascripts using data stored in a database?
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) 2006, 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: Thank you for your reply. I have run the example sent by you. Your dhtml menu example has horizontal menus and it hides all the menus.
But I am using xp vertical menu. In that I have Home,Sales,Customer Support,Reports,Access Control menus.
For Admin login I need all the menus including submenus.
But for employee login i need Home , Sales, Customer Support menus and i need only few sub menus only.
Please help me with this issue.
A: You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
More info:
http://www.deluxe-menu.com/functions-info.html
Q: I am interested in buying your software for some web development I planning on doing.а Before I buy your software, I have a concern that I was hoping you could help me with.
I downloaded the trial version of the software and set up some menus.а However, when I load them with IE7, the information bar comes up and asks me if I want to run scripts or ActiveX controls.а Is there a way I can prevent this from happening?а Is there some setting I have chosen in one of the properties that is causing this to happen?
I am not interested in buying a license for this software if this is what is going to happen.а I really like the way I can modify just about anything in the menusЕ but having this pop up is not user friendly.а Please tell me there is a way to fix this.
A: Please, see security preferences: IE/Tool/Internet Options
Make sure that Active content is enabled.
You should check your Security Settings.
There is no way to enable these settings automatically.
Q: How I can set left align for the arrows in my drop down menu templates?
var arrowImageSub=["arr_1_blk.gif","arr_1_red.gif"];
A: If you want that your arrows will appear on the left side you shouldset:
var dmRTL=0;
parameter.