
VMAX NAVIGATOR II

Applet Usage Example 

<APPLET CODE="vmaxnavii.class" WIDTH=200 HEIGHT=400>
<PARAM NAME="AUTHOR"       VALUE="Virtual_Max (http://vmax.netfx.com)">
<PARAM NAME="KEY">         VALUE="FREE VERSION"
<PARAM NAME="DELAY"        VALUE="50">
<PARAM NAME="STEP"         VALUE="8"> 
<PARAM NAME="URL"          VALUE="vmaxnavii.txt">
<PARAM NAME="LEVELXOFFSET" VALUE="25">
<PARAM NAME="TEXTCOLOR"    VALUE="c0c080">
<PARAM NAME="ACTIVECOLOR"  VALUE="00ffff">
<PARAM NAME="BGCOLOR"      VALUE="000000">
<!--PARAM NAME="ALIGN"     VALUE="RIGHT"-->
<PARAM NAME="IMAGE0"       VALUE="vmaxnavup.gif">
<PARAM NAME="IMAGE1"       VALUE="vmaxnavright.gif">
<PARAM NAME="IMAGE2"       VALUE="vmaxnavdown.gif">
<PARAM NAME="IMAGE3"       VALUE="vmaxnavleft.gif">
<PARAM NAME="IMAGE4"       VALUE="vmaxnavbg0.gif">
<PARAM NAME="IMAGE5"       VALUE="vmaxnavbg1.gif">
<PARAM NAME="IMAGE6"       VALUE="vmaxnavromb.gif">
<PARAM NAME="IMAGE7"       VALUE="vmaxnavround.gif">
<PARAM NAME="IMAGE8"       VALUE="vmaxnavroundred.gif">
<PARAM NAME="IMAGE9"       VALUE="vmaxnavapplets.gif">
<PARAM NAME="IMAGE10"      VALUE="vmaxnavscripts.gif">
<PARAM NAME="IMAGE11"      VALUE="vmaxnavbetween.gif">
<PARAM NAME="IMAGE12"      VALUE="vmaxnavfaqs.gif">
<PARAM NAME="IMAGE13"      VALUE="vmaxnavbg3.gif">
<PARAM NAME="IMAGE14"      VALUE="vmaxnavbg4.gif">

<PARAM NAME="USESCHEMES"   VALUE="true">
<PARAM NAME="SCHEME0"      VALUE="9 |1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME1"      VALUE="4 |1 |3 |2 |0  |Dialog,1,14 |ffff80 |00ffff">
<PARAM NAME="SCHEME2"      VALUE="5 |7 |6 |8 |3  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME3"      VALUE="13|7 |  |8 |   |Dialog,1,10 |808080 |00ff00">
<PARAM NAME="SCHEME4"      VALUE="5 |7 |6 |8 |3  |Dialog,1,12 |80c0c0 |00ffff">
<PARAM NAME="SCHEME5"      VALUE="5 |7 |6 |8 |3  |Dialog,1,12 |c080c0 |00ffff">
<PARAM NAME="SCHEME6"      VALUE="5 |7 |6 |8 |3  |Dialog,1,12 |80c080 |00ffff">
<PARAM NAME="SCHEME7"      VALUE="5 |7 |6 |8 |3  |Dialog,1,12 |c08080 |00ffff">
<PARAM NAME="SCHEME8"      VALUE="10|1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME9"      VALUE="4 |1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME10"     VALUE="5 |7 |  |8 |   |Dialog,1,12 |c08080 |00ffff">
<PARAM NAME="SCHEME11"     VALUE="4 |7 |  |8 |   |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME12"     VALUE="11|1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME13"     VALUE="4 |7 |  |8 |   |Dialog,1,12 |c08080 |00ffff">
<PARAM NAME="SCHEME14"     VALUE="12|1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME15"     VALUE="4 |7 |  |8 |   |Dialog,1,12 |80c080 |00ffff">
<PARAM NAME="SCHEME16"     VALUE="14|7 |  |8 |   |Dialog,1,12 |c0c080 |00ffff">
<PARAM NAME="SCHEME17"     VALUE="14|1 |3 |2 |0  |Dialog,1,12 |c0c080 |00ffff">

</APPLET>

Parameter	Description
  
AUTHOR		"Virtual_Max (http://vmax.netfx.com)" Obligatory parameter
  
KEY		"Free Version" Obligatory parameter Free Version will always 
		add link back to my pages. Please, follow registration
                instructions if you want to get rid of this.. 
  
TEXTCOLOR 
ACTIVECOLOR 
TEXTCOLOR	All Colors are in hexadecimal format 'rrggbb', same as HTML 
		colors format but without # hexadecimal radix symbol. For 
		example, for red color use: FF0000. 

DELAY STEP	Scrolling step in pixels and animation frame delay time.
  
LEVELXOFFSET	Level offset in pixels (recommended to have this value equal 
		to icons width)
  
ALIGN		Optional, parameter if defined as RIGHT tree will be right
		oriented. If omitted or defined as any other tree will be 
		left oriented.
  
URL		URL of the menu file structure, Applet will fetch out menu 
		structure in different ways depending on file extension. 

                For TEXT file with .txt extension Each line of this file is 
		responsible for one menu item in applet. Number of spaces 
		from the beginning of the line to ">" character corresponds 
		to depth level of menu item. After this follows four fields 
		separated by "|" symbol, MenuItemText | url|targetframename|
                appearanceSchemeName Complete version of vmaxnavii.txt for
                curious people 

                For use with HTML file some extra HTML code required. One can
		take a look into HTML source of my vmaxnavii3.html file to
                understand better explanations below.
  
IMAGE0..IMAGEn	Enumerated images for use with this applet, Enumeration 
		should starts with 0 and have no missed numbers.
  
USESCHEMES 	Obligatory parameter, do not change it.
  
SCHEME0.. 
SCHEMEn 	Any other Schemes names can be used, but take care not to 
		interfere with other parameters names, I used enumerated  
		names, but one can use more self explaining names for schemes.
              	Each scheme value includes following fields separated by "|" 
		character ItemBackgroundImage # Closed passive state overlay
               	icon # Opened passive state icon # Closed highlight icon # 
                Opened highlight icon # Font Settings including Fontname, 
		FontStyle,FontSize Passive state text color Highlight state 
		text color 
  
DEBUG		This parameter is for debug state only, If this parameter 
		appears among parameters passed to applet, Applet will print 
		menu structure parsing results to Java Console. It's value 
		can be any. This one is useful to debug menu structure in 
		case of some problems. Don't forget to remove this parameter 
		before on-line placing.

Here is truncated example of menu structure TEXT file: 

Menu Item and level ptr  URL(full or relative)   targetframe  Scheme#
---------------------------------------------------------------------
First Item Missing text title, it use specific image instead.
>                       |defaultjava.html        |mainwindow   |0
 >Text Tools            |                        |             |1
  >VMaxTicker           |vmaxticker.html         |mainwindow   |2
  >VMaxTickerFile       |vmaxtickerfile.html     |mainwindow   |2
   >Download            |license.html            |mainwindow   |3
 >Buttons and Menu      |                        |             |1 
  >VMaxButtons          |vmaxbuttons_lite.html   |mainwindow   |4
  >MenuButtons          |menubutton.html         |mainwindow   |4 
 >Image and Effects     |                        |             |1 
  >ImageWave            |imagewave.html          |mainwindow   |5
  >ImageWaveMap         |imagewavemap.html       |mainwindow   |5
Here again Item which use image  
>                       |defaultscript.html      |mainwindow   |8
 >Cut'n'paste scripts   |                        |             |9 
  >Cookie functions     |cookie.html             |mainwindow   |10
  >Sounding links       |soundlink.html          |mainwindow   |10 
 >Tips & Tricks         |javascripttricks.html   |mainwindow   |11 
Here is 'normal' Items on the root level of menu  
>Links for Developers   |javalinks.html          |mainwindow   |16
>Feedback Loop          |                        |             |17
 >Guestbook             |geobook.html            |mainwindow   |11
 >Email                 |email.html              |mainwindow   |11

How to use HTML parsing feature

Probably one would like to use HTML syntax to reduce the site maintaining 
work. Webmasters can create site map HTML file which can also serve as menu 
source file for this applet. Applets recognize .htm and html extensions, in 
this case applet would search through HTML code for special tags and use this 
tags to build menu structure. Any existing HTML tag can be used to be added 
to menu if this tag containing 'magic' word VMAXNAV inside 

For example:

<A HREF="some.html" TARGET="mywindow" VMAXNAV="0,SCHEME0">Some Text here</A>

When applet meets the tag containing VMAXNAV between <  and  > it makes an 
attempt to fetch out values of HREF field for this tag, TARGET of this tag 
and value for VMAXNAV. First it will be used as a menu item link url, as well
as target will work as target frame or window name. If TARGET is omitted the '_self'
value will be used as default. VMAXNAV value contains two obligatory fields: 
number of level and scheme name to be used for this menu item. Third field is
optional and can be omitted or equal to 'notext'. Last one, if used, informs 
applet that background image in scheme already have complete information, and 
no text title should be added to menu item, the example link below will be 
added to applet menu at first sub level with empty text. 

Example: 

<A HREF="some.html" TARGET="mywindow" VMAXNAV="1,SCHEME0,notext"> .....

Now one can ask me, where will the applet get the text for menu item, if any 
is required. The answer is easy, it will take all text after this tag end 
before beginning of next HTML tag. 

Example: 

<A HREF="some.html" TARGET="mywindow" VMAXNAV="3,SCHEME0">This Text will be added<BR>And this wouldn't</A>

All above examples uses <A  ... > tag. But one can use any other HTML tags. 
If one wants to add a folder to the menu which shouldn't be linked to any 
document headlines tags (H1, H2 ...) can be usedor even FONT tag.

Example: 

<FONT SIZE=+1 VMAXNAV="0,SHEME3">Folder Name</FONT>

In this case there will be no document linked to menu item and so there is no
need in target frame name. Font size doesn't matter, only VMAXNAV value will 
play a role, and text before next '<' character. 

Curious, one can look inside vmaxnavii3.html HTML source as an example. 
