| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:19:23 2008 ] | [ PBS Helpdesk 0.93 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html> 4 5 <head> 6 <title>Destroydrop » Javascripts » Tree</title> 7 8 <link rel="StyleSheet" href="dtree/dtree.css" type="text/css" /> 9 <script type="text/javascript" src="dtree/dtree.js"></script> 10 11 </head> 12 13 <body> 14 15 <h1><a href="/">Destroydrop</a> » <a href="/javascripts/">Javascripts</a> » <a href="/javascripts/tree/">Tree</a></h1> 16 17 <h2>Example</h2> 18 19 <div class="dtree"> 20 21 <p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p> 22 23 <script type="text/javascript"> 24 <!-- 25 26 d = new dTree('d'); 27 28 d.add(0,-1,'My example tree'); 29 d.add(1,0,'Node 1','example01.html'); 30 d.add(2,0,'Node 2','example01.html'); 31 d.add(3,1,'Node 1.1','example01.html'); 32 d.add(4,0,'Node 3','example01.html'); 33 d.add(5,3,'Node 1.1.1','example01.html'); 34 d.add(6,5,'Node 1.1.1.1','example01.html'); 35 d.add(7,0,'Node 4','example01.html'); 36 d.add(8,1,'Node 1.2','example01.html'); 37 d.add(9,0,'My Pictures','example01.html','Pictures I\'ve taken over the years','','','img/imgfolder.gif'); 38 d.add(10,9,'The trip to Iceland','example01.html','Pictures of Gullfoss and Geysir'); 39 d.add(11,9,'Mom\'s birthday','example01.html'); 40 d.add(12,0,'Recycle Bin','example01.html','','','img/trash.gif'); 41 42 document.write(d); 43 44 //--> 45 </script> 46 47 </div> 48 49 <p><a href="mailto:drop@destroydrop.com">©2002-2003 Geir Landrö</a></p> 50 51 </body> 52 53 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |