| home / experts / dhtml / column38 |
|

The menu to the left has an item (the third one) excluded from rollover behavior. The menu array looks like this:
HM_Array5 = [ [...], ["Doc JavaScript","http://www.webref.com/js/",1,...], ["HTML with Style","http://www.webref.com/html/",1,...], ["DHTML Lab",,0,...], ["Xploring XML","http://www.webref.com/xml/",1,...], ["3-D Anim Workshop","http://www.webref.com/xml/",1,...] ]
The menu to the left has an item (the third one) excluded from rollover behavior. The item display text contains HTML to create emphasis. The menu array looks like this:
HM_Array6 = [ [...], ["Doc JavaScript","http://www.webref.com/js/",1,...], ["HTML with Style","http://www.webref.com/html/",1,...], ["<B>DHTML Lab</B>",,0,...], ["Xploring XML","http://www.webref.com/xml/",1,...], ["3-D Anim Workshop","http://www.webref.com/xml/",1,...] ]
The menu to the left has an item (the third one) excluded from rollover behavior. All items have child menus. The child menus each contain only one item, which has no rollover behavior. We have created descriptive pop-ups. The menu arrays looks like this:
HM_Array7 = [ [...], ["Doc JavaScript","http://www.webref.com/js/",1,0,1], ["HTML with Style","http://www.webref.com/html/",1,0,1], ["DHTML Lab",,0,0,1], ["Xploring XML","http://www.webref.com/xml/",1,0,1], ["3-D Anim Workshop","http://www.webref.com/xml/",1,0,1] ] HM_Array7_1 = [ [], ["Everything you always wanted to know about JavaScript by our resident experts, Yehuda and Tomer Shiran",,0,0,0] ] HM_Array7_2 = [ [], ["Everything you always wanted to know about HTML and CSS by our resident expert, Stephanos Piperoglou",,0,0,0] ] HM_Array7_3 = [ [], ["Everything you always wanted to know about DHTML by our resident expert, Me",,0,0,0] ] HM_Array7_4 = [ [], ["Everything you always wanted to know about XML by our resident expert, Michael Classen",,0,0,0] ] HM_Array7_5 = [ [], ["Everything you always wanted to know about 3-D Animation by our resident expert, Robert Polevoi",,0,0,0] ]
The text link, above, causes a top-level menu to appear upon mouseover. The menu has only one item without rollover. We have created a pop-up tool-tip! The menu arrays looks like this:
HM_Array8 = [ [...], ["Everything you always wanted to know about DHTML by our resident expert, Me",,0,0,0] ]
On the next page, we'll discover how to keep an item in a permanent rollover state.
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: Oct 03, 2000
Revised: Oct 03, 2000
URL: http://www.webreference.com/dhtml/column38/5.html