eMenuTree names it functions eF1, eF2, ... and its variables eV1,eV2, ... So you should not use these names. eMenuTree also uses some variables and functions that begin with the letter "e" followed by capital letters.
You may use eMenuTree's functions and variables in a tree menu page. Perhaps the most useful are the boolean variables 'eIE' (internet explorer), 'eNN' (netscape navigator), and 'eW3C' (internet explorer 4/5/6 or netscape 6). For details on how to use eMenuTree functions to script your tree menu, see Technical Help>"Scripting tree menus ".
When you are mixing eMenuTree script and your script, there is always the possibility of a conflict. So if you use script in your pages, test them carefully.
If you insert a page link in your tree, choose the "No link" option, and the page name begins with the 11 characters "javascript:", eMenuTree will insert only the material after these 11 characters into the tree.
This option can be used to prevent part of the tree from being written in a given browser. For example if you add a page with the name
javascript:if(!(eNN&&ePI==4)){
before a section of the tree. And you put a page with the name
javascript:}
after the section. Then that section will not be included in Netscape 4. Both links must have the "No links" option selected.
If a folder or page name begins with the 9 characters "function:" followed by a javascript function, eMenuTree will use the javascript function to write the page or folder name. Of course, your page must contain the javascript function and this function should return HTML code.
As an example the following javascript function writes an HTML drop down selection box with options 0 to 15:
function select(){var t="";for(var i=0; i<16; i=i+1){t = t+"<option>"+ i}; return "<select>" + t + "</select>"};
If this javascript function is in the page that contains the tree menu, then you could name one of the page links in the tree:
function:select()
The "name" of this page link in the tree would then be this drop down selection box.