Commit Graph

48 Commits (3caab2ab009d84e882aa8480dd40bf43ef017c1f)

Author SHA1 Message Date
Guillaume DOTT 3caab2ab00 Add an option to ignore space used by collapsed nodes 2013-01-25 14:57:37 +01:00
Wes c8b7864250 Bug fixes: 1. Removed the unnecessary assignment of a style class to nodes. 2. li elements who have a class of 'collapsed' are now working correctly and the nodes that represent them maintain the correct state across drag-n-drop 2012-05-07 13:38:37 +01:00
Wes cb137b535e Merge pull request #21 from fschaefer/patch-1
Fix globally exposed variables.
2012-05-07 05:03:22 -07:00
Wes 6fddbda863 Merge pull request #17 from ja-jo/master
Improved handling of none ID lists. Element classes are copied across and element ids are stored against elements using the jQuery .data() method.
2012-05-07 05:00:30 -07:00
Florian Schäfer 5ad2511c3b Fix globally exposed variables. 2012-05-07 13:31:15 +03:00
Jonathon Smith b034e9900d Changed node find method from data- attributes to jquery data()
This maintains validation on pre-HTML5 documents
2012-04-06 01:25:24 +01:00
Jonathon Smith f1432f80d2 Improved the way nodes without IDs are handled using data- attributes instead of searching on html/plain text 2012-03-24 14:16:51 +00:00
Wes ddfc594332 changed license. Now dual licensed under MIT and GPL. 2012-03-16 17:48:47 +00:00
Wes 83fddcac19 issue #8: clicking links inside nodes doesn't collapse nodes now. 2012-03-16 14:38:28 +00:00
Wes c27039a9b3 issue #8: clicking links inside nodes doesn't collapse nodes now. 2012-03-16 14:38:11 +00:00
Wes fb6808bd07 collapsing parts of the tree doesn't make sibling trees move 2012-03-16 14:14:54 +00:00
Wes 9763085df2 Neaten comment header. Copied merged changes through to example code. Updated example code to demonstrate new functionality. 2012-02-28 09:28:18 +00:00
Wes d92c649909 Merge pull request #12 from ahzgdn/patch-2
fixed typo in css
2012-02-28 01:22:04 -08:00
Wes b4702e7ac0 Merge pull request #11 from ahzgdn/patch-1
Change to work with IDs and non-id trees
2012-02-28 01:19:57 -08:00
Adrian Hinz bff215eafa fixed typo in css 2012-02-24 11:51:52 +01:00
ahzgdn 1242eff76e Change to work with IDs and non-id trees 2012-02-22 08:49:10 +01:00
Wes 2ba68bd3bb Merge pull request #4 from neilbowers/master
Bugfixes related to setting of cursor on parent nodes
2012-02-06 07:29:12 -08:00
Sumh ed4d5731f6 Don't shift the sibling tree when toggle sub tree
Sumh <42424861@qq.com>
2012-02-04 16:33:00 +08:00
Neil Bowers bbf520b6ea Propagated bug fix for cursor changes 2012-01-23 12:35:45 +00:00
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