Recent Questions
Q: 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:
But for me it looks more like a browser problem than a JSP problem.
Unfortunatley the Tomcat 5.5.17 is our production system so fast help is appreciated.
A: Try to set the following parameter:
var dmObjectsCheck=1;
Make sure that you have dmenu_add.js file in the same folder withdmenu.js file.
Q: I need to use an iframe within the popup window.
Is there any way I can close the dhtml window from the page loaded within the iframe?
A: You can close the popup using the following function:
document.getElementById('win').hide();
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot access
document.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situated
on the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a><iframe></iframe>
Your link will work in that case.
Q: We're running deluxe_tree version 1.0. We are getting the following error:
_tsw is not defined
[Break on this error] String.prototype.sb=function(tss,te){return this.substring(tss,te)};String.proto...
dtree.js (line 14)
Any ideas? Should we upgrade to the latest version? If so, what it the upgrade path for us? Will we have to modify our data-tree.js file?
A: Yes, try to use Deluxe Tree v2.4.
See in Deluxe tree you should specify correct tWorkPath parameter:
<script type="text/javascript"> var tWorkPath="menudir/";</script> otn=tx/tl hre=T-"/ mt ae"ecito"cnet"nac orwbiewt it utn n e c
This parameter should point to the same folder with dtree.js file.When you use movable or floatable feature you should copy dtree_add.jsfile in the same folder with dtree.js file.
http://deluxe-tree.com/installation-info.html