Create contextual menus for your pages. For this purpose you should assign a special function for the object you want. The current coordinates of the mouse pointer or your own ones can be used for the contextual menu.
When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
Build menus completely based on Cascading Style Sheets. It is possible to appoint the individual CSS styles for separate elements of the 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: I have menus generated by you deluxe menu package . They look fine on all my computer but look bad on my friends computer. Can this be fixed?
A:Thanks for your interest in our products.
Try to specify all units in "px", for example:
var menuHeight="22px";
Try to set exact width for menu item var menuWidth="736px";
Try also not to set var smWidth="0"; var smHeight="0";
Please, see the attached data file.
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/"; var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute. For example:
var pathPrefix_img = "http://domain.com/images/"; var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [ ["text", "index.html", "icon1.gif", "icon2.gif"], ];
So, link path will be look so: http://domain.com/pages/index.html
Images paths will be look so: http://domain.com/images/icon1.gif http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: How can I get an image to be a separator in between items on my css vertical drop down menu?
A:To add a separator you should
//--- Separators var separatorImage=""; //for subitems (top items in vertical menu) var separatorWidth="100%"; var separatorHeight="3px"; var separatorAlignment="right"; var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu) var separatorVWidth="100%"; var separatorVHeight="2px"; var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [ ["item 1"], ["-"], // this item is separator ["item 2"], ];
Q: When you hover over words the background color is light blue - How do I change dhtml context menu so that the color when you hover over items is different?