wesnolte / jOrgChart

A jQuery plugin to draw tree-like structures such as OrgCharts.
992 stars 674 forks source link

Space apart sibling nodes; propagate classes from <li> to nodes #3

Closed neilb closed 12 years ago

neilb commented 12 years ago

Hi Wes,

Two more changes:

[1]

The fix for layout issues yesterday ended up with sibling nodes butting up against each other. Spaced them apart a touch.

[2]

Any classes you put on the

  • elements will now get copied over to the
    elements for the associated node in the tree. This lets you style nodes differently.

    cheers, Neil

  • wesnolte commented 12 years ago

    May the goddess lakshmi (http://en.wikipedia.org/wiki/Lakshmi) rain down money and good looks upon you ;)

    Thanks mate, really appreciate the help.