I'd like to be able to right click on items in a dynamic tree view and then pick actions to perform from a context menu
Is this possible? A: You can use API functions
function dtreet_ext_userRightClick (itemID)
See more info here:
If you have only one menu on the page you should write popup functionin the following way:
return dm_popup(0, 2000, event);
How to upgrade to v2.00
You can download the licensed engine .js files from the same link in your license message.
To upgrade to v2.00 you should do the following.
1.1 For Windows users
a. Run Deluxe Tuner v2.0
(can be found in the trial menu package v2.0
b. Open menu data file (.js file where menu parameters are placed):
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 3. Replace existent <noscript></noscript> tags of the menu by the following code:
Step 4. Save HTML-page.
Step 5. New engine v2.00 has 7 .js files.
- dmenu_cf.js (new v2.00)
- dmenu_popup.js (new v2.00)
Replace all old .js files by the files from v2.00.