Thanks Nico,
it works in your hypertree example.
BTW I try to do the same thing on the code of David's image browser
(
http://www.stephanieozer.com/kenwood/jit/examples/fortross6.html)
I try to keep both labels and images visuble during the animation but
failed.
****************the original code in David's***********************
onCreateLabel: function(domElement, node) {
(domElement).setHTML(
node.name).addEvents({
'click': function(e) {
ht.onClick(e.event);
}
});
**********************************************************************
*******************then I make it as*******************************
onCreateLabel: function(domElement, node) {
(domElement).setHTML(
node.name).addEvents({
'click': function(e) {
ht.onClick(e.event ,{
hideLabels: false
});
}
});
**********************************************************************
apparently it doesn't work,
it may be something about the "e.event" ?
Thanks again,
Xocial