Is there a javascript API in dynamic javascript tree to fire an user click event so the browser will load proper page accordingly?
Return to Recent Questions
Q:
First I want to thank you for the great support you provided. I have
another question about the dynamic javascript tree. Is there a javascript API to fire
an user click event so the browser will load proper page accordingly? I
looked around the current APIs from your site and could not find one.
A:
You can use dtreet_ext_userClick (itemID) function.
See more info:
http://deluxe-tree.com/functions-info.html
Actually you can use your own Javascript code instead standard links
and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:your_code_here"]
];
or
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Return to Recent Questions
Related:
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 29, 2006 - I tried to use javascript function with the "Title item" of my javascript tree view.
- Oct 06, 2006 - Where I can find data.js file for tree javascript menu?
- Oct 21, 2006 - I want to get the URL or file name to be open in javascript mouseover menu by click...
- Nov 24, 2006 - Is it possible to have the actual words clickable in order to open up an expandable tree
- Jan 21, 2007 - I cannot get the Janarator images to appear in the javascript right click menu.
- Jan 28, 2007 - I would like to add a javascript link with onclick event to the html jump menu
|