From d2cdb007ff6ea32dbeb44ec755792739ed079b27 Mon Sep 17 00:00:00 2001 From: Wes Date: Sat, 12 Nov 2011 12:13:24 +0000 Subject: [PATCH] Included license and proper attribution of work. Also added to readme. --- example/.DS_Store | Bin 6148 -> 0 bytes example/example.html | 2 +- example/jquery.jOrgChart.js | 15 +++++++++++++++ readme.markdown | 12 ++++++++++-- 4 files changed, 26 insertions(+), 3 deletions(-) delete mode 100644 example/.DS_Store diff --git a/example/.DS_Store b/example/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0
  • Github
  • Twitter
  • -
  • Blog
  • +
  • Blog
  • Show underlying list.
    diff --git a/example/jquery.jOrgChart.js b/example/jquery.jOrgChart.js index c2e48e0..7301fa1 100644 --- a/example/jquery.jOrgChart.js +++ b/example/jquery.jOrgChart.js @@ -1,3 +1,18 @@ +/** + * jQuery org-chart/tree plugin. + * + * Author: Wes Nolte + * http://www.tquila.com + * + * Based on the work of Mark Lee + * http://www.capricasoftware.co.uk + * + * This software is licensed under the Creative Commons Attribution-ShareAlike + * 3.0 License. + * + * See here for license terms: + * http://creativecommons.org/licenses/by-sa/3.0 + */ (function($) { $.fn.jOrgChart = function(options) { diff --git a/readme.markdown b/readme.markdown index 962a1b9..46f9f9b 100644 --- a/readme.markdown +++ b/readme.markdown @@ -5,7 +5,11 @@ Follow me [@wesnolte](http://twitter.com/wesnolte) -jQuery OrgChart is a plugin that allows you to render structures with nested elements in a easy-to-read tree structure. To build the tree all you need is to make a single line call to the plugin and supply the HTML element Id for a nested unordered list element that is representative of the data you'd like to display. +jQuery OrgChart is a plugin that allows you to render structures with nested elements in a easy-to-read tree structure. To build the tree all you need is to make a single line call to the plugin and supply the HTML element Id for a nested unordered list element that is representative of the data you'd like to display. Features include: + +* Very easy to use given a nested unordered list element. +* Showing/hiding a particular branch of the tree by click on the respective node. +* Easy to style. ![jQuery OrgChart](http://i.imgur.com/2OpyG.png "jQuery OrgChart") @@ -17,12 +21,16 @@ To get up and running you'll need a few things. ----- -###The JavaScript Libraries +###The JavaScript Libraries & CSS You need to include the jQuery as well as the jOrgChart libraries. For example: + +The core CSS is necessary to perform some of the basic styling i.e. + + ----