Difference between revisions of "24 January 2007"
From Organic Design wiki
(tree takes up too much space, lets see if it works inside an expandable!) |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Tree view]] | ||
<table class=document-code><tr><td> | <table class=document-code><tr><td> | ||
;New tree-view component implemented! | ;New tree-view component implemented! | ||
Normal nested bullet lists can now easily be rendered as a proper ''tree-view'' by surrounding the list in a ''div'' of class "tree-view" as in the following example. It's a transform called [[tree-view.php]] which is added to the [[data]] event of the global [[default-properties.xml]]. | Normal nested bullet lists can now easily be rendered as a proper ''tree-view'' by surrounding the list in a ''div'' of class "tree-view" as in the following example. It's a transform called [[tree-view.php]] which is added to the [[data]] event of the global [[default-properties.xml]]. | ||
− | <table | + | <table border=0><tr><td valign=top> |
− | |||
This wikitext code, | This wikitext code, | ||
<div class="tree-view"> | <div class="tree-view"> | ||
Line 20: | Line 20: | ||
***lib | ***lib | ||
</div> | </div> | ||
− | <td valign=top | + | <td> |
+ | <td valign=top> | ||
Yields this result, | Yields this result, | ||
<div style=padding-bottom:10px></div> | <div style=padding-bottom:10px></div> | ||
− | <div class="tree-view"> | + | <div class="tree-view" id=2> |
*root | *root | ||
**etc | **etc | ||
Line 38: | Line 39: | ||
***lib | ***lib | ||
</div> | </div> | ||
− | |||
</table> | </table> | ||
</table> | </table> |
Latest revision as of 12:40, 7 March 2007
Normal nested bullet lists can now easily be rendered as a proper tree-view by surrounding the list in a div of class "tree-view" as in the following example. It's a transform called tree-view.php which is added to the data event of the global default-properties.xml.
|