- Status string shows item labels - Top items and submenus have a shadow - 85% transparency for sub menus - Transition #14 - "fade out" effect - Several menus on one page - Text aligned to left - Items with icons - Image arrows
Build right-click menus for your site. For this purpose you should appoint a peculiar method for the object you want. The current X,Y of the mouse pointer or your own ones can be used for the context menu.
Design menus absolutely based on CSS (Cascading Style Sheets). It is possible to apply the personal CSS styles for every elements of the menu.
When the submenu is bigger than the visible page area, the size of submenu will be automatically decreased. To view 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 automagically scrolled! You can also define width and height for each submenu.
You can use Object ID as well as Link in both modes. Use the following prefixes within item's link field: "object:" - means that there is object id after it; "link:" - means that there is a link after it. "javascript:" - means that there is a javascript code after it, for example:javascript:alert(\'Hello!\')
So, you should write for example:
["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ], Q: Can I use javascript to get the object (getElementByID). If not howdo I hide my dropdown menu on print?
A:You can add a new button to print your page and call onClick event, soyou should write: <body .... onClick="document.getElementById('dm0m0').style.visibility='hidden'; window.print();"> ... </body> Or you can use the same javascript code from your menu item.
For example: var menuItems = [ ["Print", "javascript:document.getElementById('dm0m0').style.visibility='hidden'; window.print();", icon1, icon2], ]; But if you want to hide the menu when your customers push "File/Print"you should write so: You must create two functions, for example:
function myprint() { document.getElementById('dm0m0').style.visibility='hidden'; window.print(); } function myprint2() { document.getElementById('dm0m0').style.visibility='visible'; window.print(); } You should add this functions into your code.
Q: Hi, I need to know if it is possible to accomplish the following functionalities with your tree-menu library.
1. I need to have two or more trees in the same page 2. I need to have a checkBox in each node and through a JavaScript function be able to add the selected nodes into another tree. 3. I need to eliminate the nodes that has check=true 4. I need to populate on-demand the tree using AJAX 5. I need to implement drag&drop through the use of the mouse events on the tree nodes 6. How would the tree behave with 10000 nodes?? 7. I need to have a tree within another element that uses scroll such as a DIV or SPAN (fixed area). When collapsed or expanded, the area should remain its original size.
A: 1. You can add any number of the menus on the one page. 2, 3, 5. Yes, you can do it. But you should create your own server-side script (for example, php) that will do it. The menu doesn't support such a feature. 4. Unfortunately, you can't use the AJAX-like technology in the Deluxe Tree such as in Deluxe Menu. 6. It is possible that the loading speed can be lower if the menu is very large. But it doesn't take so much time. Yes, you can notice some delay in IE, but in over browsers it works better. Deluxe Tree works fast, but 10000 is a large value. Please, try atrial version of Deluxe Tree. I tried to create large menus on my machine: P4 3GHz, 512RAM WinXP SP2 It takes: - 1000 items ~ 10 sec - 2000 items ~ 40 sec 7. You can paste Deluxe Tree into the <table> or <div>.
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.