Apycom Tree-menu comes with two files that can be found in the "js/" subdirectory in this download:
apytmenu.js - menu engine;
tmenudata.js - data file with menu parameters (this file may be renamed, but must include the '.js' extension).
Place these files to any folder of your html project and add a reference to the files within your HTML page. You can use both absolute and relative
coordinates to position the menu.
Absolute position
Paste the following code into <head> tag:
<!-- Apycom Tree Menu -->
<noscript><a href=http://dhtml-menu.com/>DHTML Tree Menu</a></noscript>
<script type="text/javascript" language="JavaScript1.2" src="yourdir/apytmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="yourdir/tmenudata.js"></script>
<!-- (c) 2004, Apycom Software, apycom.com -->
and set coordinates of top-left menu corner in the data file, example:
var tabsolute = 1;
var tLeft = 20;
var tTop = 120;
Relative position
Paste the following code into <head> tag:
<!-- Apycom Tree Menu -->
<noscript><a href=http://dhtml-menu.com/>DHTML Tree Menu</a></noscript>
<script type="text/javascript" language="JavaScript1.2" src="yourdir/apytmenu.js"></script>
<!-- (c) 2004, Apycom Software, apycom.com -->
and paste the following code within your html page in a position you want the menu to appear:
<script type="text/javascript" language="JavaScript1.2" src="yourdir/tmenudata.js"></script>
For example into a table cell:
<table><tr>
<td><script type="text/javascript" language="JavaScript1.2" src="yourdir/tmenudata.js"></script></td>
</tr></table>
|
|