As noted by Dr. Clue, "Effective use of this technique
1.The use of the new operator.
2.The Image() Instance function.
3.The Array() Instance function.
4.The .src member of <IMG>
5.onMouseover and onMouseout event handlers of the <A> tag.
Something I do not understand is the use of "return true"
and "return false" in the event handlers. See the
Netscape reference manual for events. If I understand
this right, returning true means that the link will
be followed and returning false means that the link
will not be followed. But how that applies to the current
example is so far a mystery.
this.name = name ;
this.text = text ;
this.Image_0 = new Image(147,30) ;
this.Image_0.src= low ;
this.Image_1 = new Image(147,30) ;
this.Image_1.src= high ;
this.LOW = LOW ;
this.HIGH = HIGH ;
MENUBAR = new Array();
MENUBAR = new MENUITEM("OPTION_1","js1_l.jpg","js1_h.jpg","Choice 1");
MENUBAR = new MENUITEM("OPTION_2","js1_l.jpg","js1_h.jpg","Choice 2");
MENUBAR = new MENUITEM("OPTION_3","js1_l.jpg","js1_h.jpg","Choice 3");
// Hide Code Ends --->