Commit Graph

29 Commits (7a3ea355aa4287f4a8857904ec73b1fe7613674b)

Author SHA1 Message Date
Neil Bowers 7a3ea355aa Fixed cursor bug, where you'd end up getting the wrong expand/close cursor on parent nodes.
Also stopped the click handler being installed on nodes which don't have any children.
And cursor set correctly if you start a sub-tree collapsed, with <li class=collapsed>
2012-01-23 12:28:58 +00:00
Wes 7f04b1b6ee Copied changes wrt "copying li class to node class" from core lib to example lib. 2012-01-21 16:15:49 +00:00
Wes c1e1ee3135 Merge pull request #3 from neilbowers/master
Space apart sibling nodes; propagate classes from <li> to nodes
2012-01-21 08:01:54 -08:00
Neil Bowers 01521d4aab The fix for layout problems on IE7 and other browsers resulted in sibling nodes butting up against each other. This fixes that. 2012-01-20 13:58:23 +00:00
Neil Bowers 4b6b66a8ab Any classes you add to the <li> elements now get propagated to the node <div> elements 2012-01-20 13:37:41 +00:00
Neil Bowers b95942c6c5 fixed typo 2012-01-20 13:30:06 +00:00
Wes 4f4d2a917f Merge pull request #2 from neilbowers/master
Improvement in layout, IE7 fix, and collapsed sub-trees
2012-01-19 08:44:58 -08:00
Neil Bowers 44a9b74d06 Added mechanism for starting off sub-trees collapsed 2012-01-19 15:48:19 +00:00
Neil Bowers 97bbe6e0b0 fix for IE7: horizontal lines don't appear unless you put a non-breaking space inside the relevant TD elements.
Still works fine on Safari, Chrome, IE8&9, Firefox, and Camino
2012-01-19 15:15:26 +00:00
Neil Bowers 914e7f2636 Removed padding from the sides of cells, as it was causing larger tables to get mis-aligned.
Every sub-tree pushed things off by one pixel. With a deep tree, you end up with lines not meeting nodes. This fixes it.
2012-01-19 15:08:18 +00:00
Wes beba805557 panel that shows underlying html list now updates when node elements are rearranged 2011-12-02 14:22:14 +00:00
Wes b39c765332 changed the way drag and drop events are binding to nodes to fix an issue in recent versions of FF. Also cleaned out some dead code 2011-12-02 13:41:02 +00:00
Wes fa3bc92c87 added in info about needing jQuery UI and some other readme touch ups. 2011-11-19 14:31:37 +00:00
Wes 07454277e3 pointed blog link to personal blog because honestly those f*ckers don't deserve the traffic 2011-11-19 14:22:19 +00:00
Wes c9111adf23 removed bug in dragndrop where nodes with html were pushing null/partial content 2011-11-19 14:19:41 +00:00
Wes 7d49fcd736 removed unnecessary files 2011-11-18 22:01:39 +00:00
Wes 3693b55684 drag-n-drop done. 2011-11-18 21:56:58 +00:00
Wes 5b6ae87f47 added drag-and-drop reordering of tree elements 2011-11-18 21:55:28 +00:00
Wes b8e5f8a1f5 adding in bitly links to track click throughs 2011-11-13 12:25:34 +00:00
Wes 87aaba71f1 adding HTML examples to underlying list markup 2011-11-12 13:03:13 +00:00
Wes 19fb180d50 moved updated orgchart lib from example to / 2011-11-12 12:17:05 +00:00
Wes 85ce851a65 Added point to feature list about allowing HTML in nodes 2011-11-12 12:16:00 +00:00
Wes d2cdb007ff Included license and proper attribution of work. Also added to readme. 2011-11-12 12:13:24 +00:00
Wes 17b5cdfea3 tidying up example markup and ensuring links point somewhere useful 2011-11-11 18:21:00 +00:00
Wes 9386481f21 multiple markdown fails - I'm a n00b 2011-11-11 18:17:59 +00:00
Wes bc9e682eb0 added in links to demo and source 2011-11-11 18:15:59 +00:00
Wes 3889177174 markdown formatting mistake 2011-11-11 18:11:18 +00:00
Wes 2c766d8ea7 updated readme to include restrictions on HTML in nodes 2011-11-11 18:10:17 +00:00
Wes 6658952474 Initial commit 2011-11-11 17:51:44 +00:00