开发者

Jquery treeview

I am using jquery.bassistance.de/treeview/ for my application. Can I expand the nodes only on clicking the '+" icon. c开发者_StackOverflow中文版urrenty, even when I click the text which comes after the '+' symbol the tree expands.


open jquery.treeview.js

find applyClasses: function(settings, toggler) { // TODO use event delegation this.filter(":has(>ul):not(:has(>a))").find(">span").unbind("click.treeview").bind("click.treeview", function(event) { // don't handle click events on children, eg. checkboxes if (this == event.target) toggler.apply($(this).next()); }).add($("a", this)).hoverClass();

and comment toggler.apply($(this).next());

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜