Tree
Properties part A. Now
that we have added all our node inforamtion and built the tree structure we can
now configure some of the properties to tailor the look of the tree. In this example
we have added the following properties, Background
Color Border ( width and color ) Connecting Line ( style and color)
Node Highlight colors. And
here is the html code (new code matked in blue),
<applet code="TreeApplet" width="250" height="300"
archive="Treemenu.jar">
<!--
Tree Properties --> <param name="nodeOffset" value="25">
<param name="backgroundColor" value="255|255|150">
<param name="borderWidth" value="1"> <param name="borderColor"
value="175|175|175"> <param name="connectingLines"
value="true"> <param name="connectingLinesColor"
value="100|100|100"> <param name="connectingLinesStyle"
value="2"> <param name="highTextColor" value="255|255|255">
<param name="highBgColor" value="0|0|150">
<!-- Images --> <param name="image1" value="closed|./IconImages/closedfolder.gif">
<param name="image2" value="open|./IconImages/openfolder.gif">
<param name="image3" value="document|./IconImages/document.gif">
<param name="image4" value="point|./IconImages/point.gif">
<!-- Nodes --> <param
name="Nodedata" value="nodes.txt"> </applet>
Please
Note: Java and all Java-based marks are trademarks or registered trademarks of
Sun Microsystems, Inc. in the U.S. and other countries.
[Copyright
© 1997 - 2001 Sirius Computer Consultants Limited - All rights reserved. ]
|