[jQuery] Re: [treeview] Would like to limit toggle to the plus/minus icons

2008-12-29 Thread walkinthere
I'd like to do the opposite. Clicking any link in the tree (whether a parent or leaf) should load the page AND toggle to expand/collapse. In the demo, it LOOKS like this works. But the demo does not use real links, so the page isn't reloaded with another. You can see this on zunga.orgfree.com

[jQuery] Treeview expand on link clobbered by page load

2008-12-28 Thread walkinthere
I want to expand for a click on a link (>a), not just the little + icon. I tried modifying this this.filter(":has(>ul)").find(">a,>span").unbind("click.treeview").bind ("click.treeview", function(event) { to this.filter(":has(>ul):not(:has(>a))").find(">span").unbind ("click.treeview").bind("cli