- 85% transparency for sub menus - Personal CSS styles for separate menu elements - Submenus dropdown on mouseover - Cross-frame support - menus work on frameset-based pages - Inactive/Disabled items - Submenus go over all page objects - Special JavaScript API for changing javascript menu "on-the-fly" - Filters and Transitional effects
Sub menus dropdown over all the objects on the page (select, applet, flash, object, embed). If for some reasons (old browser) a submenu can't go over an object, the object will be hidden for a time when the submenu is shown.
Design personal styles for any submenu and item. Use individual styles to rich killer visual effects!
These effects will make your menu neat and chic. You can set transparency, cast a shadow on the menu and submenus. Among available special visual effects there are random dissolve, fade, mix, mosaic slide out and many many others.
Q: Is there a way we can add javascript behaviors to the sliding dhtml menu actions? For example, is there a way we can add an onClick function to a menu item (eg,onClick="return MyFunction( )" ) so that we can catch and process key events?
A:Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item. However, you can achieve this by using standard html objects within items, for example:
var menuitems = [ ["
item text
", ""] ];
You can use your own Javascript code instead standard links. For example:
var menuItems = [ ["text", "javascript:your_code_here"] ];
Try that.
Q: Is it possible for the dhtml navigation to stay within a table for placement (in order to have a centered website content optimized for 1024x768 - and always have the content centered in the browser regardless of larger resolution sizes, etc.)? so the horizontal placement may vary but the vertical placement would remain the same.
I'm sure it is - but have not had success on implementing it.
A: You can place a menu in a TABLE or DIV with aligh="center".
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: One other question, how do you get the menu bar to highlight and stay on the page you are viewing rather than highlighting home the whole time.
A:You should set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item. menuInd - index of a menu on a page, >= 0. submenuInd - index of a submenu, >= 0. itemInd - index of an item, >=0. recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. You can't get this ID after you reload your page. That is why you should write your own code on PHP.
var dlg = window.open(url, "ha_dialog", "toolbar=no,menubar=no ..... we didn't have time in the first version to create a custom interface for the buttons
var dlg = window.open(url, "ha_dialog", "toolbar=no,menubar=no ..... we didn't have time in the first version to create a custom interface for the buttons
var dlg = window.open(url, "ha_dialog", "toolbar=no,menubar=no ..... we didn't have time in the first version to create a custom interface for the buttons