- UL/LI items structure - Keyboard navigation - press Ctrl+F2 to enter the top menu - Status string shows item labels - Personal CSS styles for separate menu elements - Submenus automatically scrolls - Inactive/Disabled items - Top items and submenus have a shadow - AJAX menu loading - loads web menu data from the server "on-the-fly".
Good navigation is an important step to website success. If people can't find their way around the site, they will quickly give up looking and leave, never to return. So, it's absolute vital that your website has a fast, neat, and eye-pleasing navigation. Don't allow your website visitors to get lost. Try Deluxe Menu!
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left> /* Select Tab */ <script type="text/javascript" language="JavaScript1.2"> var bselectedItem=4; var bselectedSmItem=3; </script> <SCRIPT src="data.js" type=text/javascript></SCRIPT> </TD>
Q: How can I upgrade to Deluxe Menu v2.0? Now I'm using v1.14.
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:
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: I have been trying for months to find an answer to my submenu problem using your FAQ and Recent Questions. The only thing that comes close to an answer is from one of your Recent Questions below, but I don't understand the answer. Will you please give me specific code or info to fix? Please refer to my frameset code and data.js info, which I've provided further down this message.
I am using cross frame menu dropdown. I have three frames: Top, Left and main (middle).
I am using the script and data from your sample file, it works fine. Only problem is submenu is offset to the right. It does not show up exactly down below the top javascript hide menu.
A: Yes, I suppose that the reason is in your frame structure. For examplenow you have:
top ------------------- **MENU** left--|main------------ | | **submenus** |
Try to add additional frame in your top frame with the same width asyour left frame has:
Q: I’d like to know how to populate the navigation bar menu from a database?
A:Please, see the example of .php file.The content of .php file depends on your database structure.
<?php
// The example for PHP/MySQL. // MySQL database has the table "menuTable" that contains data for menu items. // The table has the following fields: // 1. "text" - item text // 2. "link" - item link // 3. "icon1" - item icon (normal state) // 4. "icon2" - item icon (mouseover state) function getMenuItems() { $jsItems = '';
// Select all records from table "menuTable" $allItems = mysql_query('SELECT * FROM menuTable;');
// Extract items data from database and build Javascript code for menuItems while ($itemData=mysql_fetch_array($allItems)) { $jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],'; }
// Return Javascript code return $jsItems; }
?>
<script> var menuParam1 = value1; var menuParam2 = value2; var menuParam2 = value2; ...
var menuItems = [
// Write Javascript code for menu items echo getMenuItems();