Difference between revisions of "24 January 2007"

From Organic Design wiki
m (fixed, had to do a hack :-()
m
Line 1: Line 1:
 
<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.
+
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 border=1 cellspacing=0 cellpadding=10><tr><td valign=top>
 
<table border=1 cellspacing=0 cellpadding=10><tr><td valign=top>
 
This wikitext code,
 
This wikitext code,

Revision as of 22:00, 23 January 2007

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.

This wikitext code,

<div class="tree-view">
*root
**etc
***apache2
***init.d
**bin
**var
***log
***www
****htdocs
***run
**usr
***local
***lib

Yields this result,

  • root
    • etc
      • apache2
      • init.d
    • bin
    • var
      • log
      • www
        • htdocs
      • run
    • usr
      • local
      • lib