Opened 14 years ago
Closed 13 years ago
#3253 closed enhancement (invalid)
[treeview] tweak for long lists
Reported by: | wmorrell | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | treeview | Cc: | |
Blocked by: | Blocking: |
Description
The Treeview plugin by Jörn Zaefferer is a great unobtrusive plugin to turn nested UL and LI tags into an expandable/collapsable tree. However, there are some issues in using the plugin on larger trees. For example, the plugin's Large Tree Demo http://jquery.bassistance.de/treeview/demo/large.html, when using the Expand All control at the top, causes the dotted line under the Lifestyle section of the demo to terminate prematurely, before the Visiting section. The plugin currently uses two GIF sprites to draw its controls and lines, which restrict the ability of the images to repeat as a background, and cause the upper bound on tree height.
I have sidestepped this limitation by adding an embedded 16x2 GIF that can repeat in the Y direction, and modifying the hitbox sprite to give the hitboxes a white (instead of transparent) background. The red, black, and gray themes could be similarly modified with a 16x1 GIF. The patch will allow for arbitrary height trees, but will not fix arbitrary height list items.
Attachments (2)
Change History (3)
Changed 14 years ago by
Attachment: | jquery.treeview.css.patch added |
---|
Changed 14 years ago by
Attachment: | treeview-default.gif added |
---|
Default hitbox sprite with white background inside box.
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .
Patch file for jquery.treeview.css