| Issue 81: | Support for hover events | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Easy support for implementation of hover events. (May as well only be a simple example that shows how to use the standard jQuery technique)
Jul 6, 2009
(No comment was entered for this change.)
Labels:
Milestone-Discussion
Nov 6, 2010
This can be done with standard jQuery:
$("#tree a").hover(function(){
var node = $(this).parents("[dtnode]").attr("dtnode");
logMsg("Hover in %s", node);
}, function(){
var node = $(this).parents("[dtnode]").attr("dtnode");
logMsg("Hover out %s", node);
});
Status:
WontFix
|
$('#tree a').hover would bind it to every sinlge node, which is inefficient (it would be better to use event delegation). Also we would have to re-bind after lazy-nodes are expanded. One improvement would be to add a success callback to the appendAjax() function to allow postprocessing (rebinding) after the new nodes have been loaded.Owner: moo...@wwWendt.de