Recent Questions
Q: I am trying to use Delux-menu for our project, I am not able to use dynamic features of drop down menu script. I will send the html file, where I am calling the java script.
I am getting the error dm_menu[mInd] has no properties.
A: You have one menu in your example, but you write:
function hide(vis) {
dm_ext_changeItemVisibility(1, 0, 2, vis);
That is mean that you want to hide item in the second drop down menu script.
You should write:
function hide(vis) {
dm_ext_changeItemVisibility(0, 0, 2, vis);
Q: Do you have any working examples of a menu generated using .php from a MySQL database?
Our website is dynamic from a MySQL db and we already have categories and sub-categories. It would be useful if we could use this with our deluxe menu.
I don't know how to set this up, so any assistance would be appreciated.
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.html
Q: I downloaded the tuner and am testing the file prior to purchasing. Is there a way to set up categories and beneath those categories there are subitems...then depending on what page I am on in the website, the appropriate category and subitems automatically show up in the javascript tree view menu?
If so, can you please tell me where and how to setup a menu if it's just changing a variable. Maybe you have an example of the web?
Here's an example of what we are needing. If you open your website http://deluxe-tree.com/samples-sample.html there are 2 sep. menus, one at the top and one on the side.
If I click Samples on the top menu, the samples submenu should automatically expand on the javascript tree view menu. How would I set this up?
A: See how you should highlight and expand the selected items here:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
I'm sending you the example.Q: Are these cool html scripts compatible with .NET?
A: Yes, Deluxe Menu works in .NET.
Deluxe Menu is a Javascript product. It means that it works on aclient side and it doesn't work on a server side as ASP.NET script.
So, you can create the menu using standard html page and them movemenu code within .asp page.