Or comment just

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

in the programmcode mentioned in the previous post, to leave the hover
of the A-element untouched



On 14 Apr., 13:54, edik <eduard.mar...@googlemail.com> wrote:
> Well I found the code-piece where the clik-event is beeing added to
> the span element inside of the A element of the LI element of the
> tree. If commented out only +/- symbols collapse/expand the tree/
> subtree.
> Anyway it would be nice to have an option where I can enable/disable
> this behaviour without changing original code.
>
> in jquery.treeview.js (not packed)
>
> in function applyClasses
>
> comment out this code at the beginning of the function:
>                         
> this.filter(":has(>ul):not(:has(>a))").find(">span").click(function
> (event) {
>                                 toggler.apply($(this).next());
>                         }).add( $("a", this) ).hoverClass();
>
> On 9 Apr., 16:05, edik <eduard.mar...@googlemail.com> wrote:
>
>
>
> > I'm too searching for a way to change theclickbehaviour of the nodes
> > (without touching the plugin-source), so that ONLY  +/- expands/
> > collapses the node and not theclickon the SPAN element inside the LI-
> > element.
> > Anybody any suggestions?
>
> > Thanks a lot
>
> > On 10 Mrz., 21:04, Ryan <grigg...@gmail.com> wrote:
>
> > > Is there a way to make a node in thetreeviewexpand/collapse ONLY if
> > > the +/- is clicked but not the folder icon or folder name but still
> > > make the node selectable?

Reply via email to