- AJAX menu loading - loads web menu data from the server "on-the-fly". - Submenus go over all page objects - Filters and Transitional effects - Unlimited number of sub levels - Status string shows item labels - Inactive/Disabled items - Horizontal or vertical orientation - Personal CSS styles for separate menu elements
Good navigation system is an important part of web site success. If people can't find their way around the site, they will rapidly give up looking and go, never to return. So, it's very significant that your website has a neat, fast, and gratifying to the eye navigation. Don't permit your web site visitors to get lost. Try Deluxe Menu!
Q: I am using Javascript Menu. Deluxe Menu. v1.12 How can I upgrade to v.2.0?
A:How to upgrade to v2.00 --------------------------------------------------------------- You can download the licensed engine .js files from the same link in your license message.Deluxe Menu v2.00 has new parameters and features. To upgrade to v2.00 you should do the following.
Step 1. 1.1 For Windows users a. Run Deluxe Tuner v2.0 (can be found in the trial menu package v2.0 http://deluxe-menu.com/deluxe-menu.zip). b. Open menu data file (.js file where menu parameters are placed): select File/OpenЕ c. Save the file: select File/Save, then click "No" button when the dialog box appears.
1.2 For other OS users a. Open menu data file (.js file where menu parameters are placed) in a text editor. b. Make sure that the following variables exist in the data file:
var keystrokes = 0; var dm_focus = 1; var dm_actKey = 113;
var dynamic = 0; var smHideOnClick = 1; var itemAlignTop = 'left'; var smSmartScroll = 1;
var dmAJAX = 0; var dmAJAXCount = 30; var dmRTL = 0; var dmObjectsCheck = 0; var menuBackRepeat = "repeat"; var menuHeight = ""; var transDuration2 = 200;
If one of the variables doesn't exist - add it at the beginning of the file.
c. Save the file.
Step 2. Now open HTML-page that contains Deluxe Menu.
Step 3. Replace existent tags of the menu by the following code:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
Step 4. Save HTML-page.
Step 5. New engine v2.00 has 7 .js files. They are: - dmenu.js - dmenu4.js - dmenu_add.js - dmenu_dyn.js - dmenu_key.js - dmenu_cf.js (new v2.00) - dmenu_popup.js (new v2.00)
Replace all old .js files by the files from v2.00.
Try that.
Q: Thanks for swift reply, however: Tried the dmenu.js (only one we use) at our trial site and get the error : Line 13 Invalid argument
- as you know this js file is obfuscated to one line, so using a debugger does not apply.
A:See the attached example. I've upgraded your javascript layer menu to Deluxe Menu v3.0. use data file and engine files from the attachment.
You had several errors in the structure of menuItems.
It is not correct to write
["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",], ["||| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
You should write: ["| Contact us","http://www.imarex.com/home/contact_us","","","","","8","","",], ["|| Energy team","http://www.imarex.com/home/contact_us/energy_team","","","","","8","","",],
Q: I've now begun to offer my clients multiple levels offunctionality. Is there any way to add another level of complexity to the php drop down menu? Would AJAX Menus be the best approach for doing this?
A:You can do it in three ways now.
1) You can use API functions to generate items dynamically:
function dm_ext_createSubmenu (menuInd, submenuInd, itemInd, iParams) function dm_ext_addItem (menuInd, submenuInd, iParams)
2) Use AJAX feature and create different .js files depend on company and user level.
3) Generate your menu items dynamically from database. Unfortunately we don't have working example with ASP.
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.) ];
Q: How can I open the links that I created for the web drop menu /sub-menu on the same window (not on a new window)
A: You can set target parameter for all items: var itemTarget="_self";
or for each item individually: ["","testlink.htm","http://images.myregistry.com/images/myregistry/tabs/thingstodo.gif", "http://images.myregistry.com/images/myregistry/tabs/thingstodo1.gif", "Home Tip","_self", "0", "0", , ],
Bidouiller un fichier de configuration en Javascript ? ... Par exemple, mon gestionnaire de signets prend un argument optionnel qui est ... Dmenu, c'est quand même ultra moche (même si Terminus est dans son genre très
Bidouiller un fichier de configuration en Javascript ? ... Par exemple, mon gestionnaire de signets prend un argument optionnel qui est ... Dmenu, c'est quand même ultra moche (même si Terminus est dans son genre très
Bidouiller un fichier de configuration en Javascript ? ... Par exemple, mon gestionnaire de signets prend un argument optionnel qui est ... Dmenu, c'est quand même ultra moche (même si Terminus est dans son genre très