Tree
Properties part B.
In this example we have added the following properties,
Node Gap
Title ( text, font and color ) Underline nodes with links Set the background
color of the scrollbars.. And
here is the html code (new code marked 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"> <param
name="nodegap" value="5"> <param name="title"
value="Jpowered"> <param name="titleFont" value="Helvetica|BI|14">
<param name="titleColor" value="255|175|0"> <param
name="underlineLinks" value="true"> <param name="scrollBarBgColor"
value="255|175|0"> <!-- 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. ]
|