Hiermenus Go Forth, XXIV - DHTML Lab | 12 | WebReference

Hiermenus Go Forth, XXIV - DHTML Lab | 12


Logo

Hiermenus Go Forth, XXIV:
Version 4.1.2 - The Complete Script (Full-Window)



This is a sample external array file (HM_Arrays.js in the download).

/***************************************************************************
                            Version 4 Menu ARRAYS
***************************************************************************/
HM_Array1 = [
[150,,,
,,,,,,,,,,,,,,,,
1,true],
["Experts","https://www.webreference.com/experts/",1,0,1],
["Contents","https://www.webreference.com/index2.html",1,0,0],
["Services","https://www.webreference.com/index2.html",1,0,1],
["About","https://www.webreference.com/about.html",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,1]
]
HM_Array1_1 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,1],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array1_3 = [
[],
["Features","https://www.webreference.com/articles.html",1,0,0],
["Forum","https://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","https://www.webreference.com/dev/",1,0,0],
["New","https://www.webreference.com/headlines/",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,0]
]
HM_Array1_5 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,1],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array1_1_6 = [
[],
["Diner","https://www.webreference.com/dhtml/diner/",1,0,0],
["Dynomat","https://www.webreference.com/dhtml/dynomat/",1,0,0],
["Links","https://www.webreference.com/dhtml/links/",1,0,0]
]
HM_Array2 = [
[100,                          // menu width
"HM_f_CenterMenu('HM_Menu2')", // left_position
90,                            // top_position
"red",                         // font_color
"yellow",                      // mouseover_font_color
"yellow",                      // background_color
"black",                       // mouseover_background_color
"blue",                        // border_color
"green",                       // separator_color
1,                             // top_is_permanent
1,                             // top_is_horizontal
0,                             // tree_is_horizontal
1,                             // position_under
1,                             // top_more_images_visible
1,                             // tree_more_images_visible
"null",                        // evaluate_upon_tree_show
"null",                        // evaluate_upon_tree_hide
,							   // right_to_left
1],						   // display_on_click
["Experts","https://www.webreference.com/experts/",1,0,1],
["Contents","https://www.webreference.com/index2.html",1,0,0],
["Services","https://www.webreference.com/index2.html",1,0,1],
["About","https://www.webreference.com/about.html",1,0,1]
]
HM_Array2_1 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,0],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array2_3 = [
[],
["Features","https://www.webreference.com/articles.html",1,0,0],
["Forum","https://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","https://www.webreference.com/dev/",1,0,0],
["New","https://www.webreference.com/headlines/",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,0]
]
HM_Array2_4 = [
[],
["Features","https://www.webreference.com/articles.html",1,0,0],
["Forum","https://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","https://www.webreference.com/dev/",1,0,0],
["New","https://www.webreference.com/headlines/",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,0]
]
HM_Array2_1_6 = [
[],
["Diner","https://www.webreference.com/dhtml/diner/",1,0,0],
["Dynomat","https://www.webreference.com/dhtml/dynomat/",1,0,0],
["Links","https://www.webreference.com/dhtml/links/",1,0,0]
]
HM_Array3 = [
[120,      // menu width
200,       // left_position
300,       // top_position
"black",   // font_color
"white",   // mouseover_font_color
"white",   // background_color
"black",   // mouseover_background_color
"black",   // border_color
"gray",    // separator_color
0,         // top_is_permanent
0,         // top_is_horizontal
0,         // tree_is_horizontal
1,         // position_under
1,         // top_more_images_visible
1,         // tree_more_images_visible
"null",    // evaluate_upon_tree_show
"null",    // evaluate_upon_tree_hide
,          // right_to_left
],     // display_on_click
["Experts","https://www.webreference.com/experts/",1,0,1],
["Contents","https://www.webreference.com/index2.html",1,0,0],
["Services","https://www.webreference.com/index2.html",1,0,1],
["About","https://www.webreference.com/about.html",1,0,0]
]
HM_Array3_1 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,1],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array3_3 = [
[],
["Features","https://www.webreference.com/articles.html",1,0,0],
["Forum","https://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","https://www.webreference.com/dev/",1,0,0],
["New","https://www.webreference.com/headlines/",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,0]
]
HM_Array3_1_6 = [
[],
["Diner","https://www.webreference.com/dhtml/diner/",1,0,0],
["Dynomat","https://www.webreference.com/dhtml/dynomat/",1,0,0],
["Links","https://www.webreference.com/dhtml/links/",1,0,0]
]
HM_Array4 = [
[120,
"mouse_x_position + 20",
"mouse_y_position + 20",
,,,,,,,,,,,,,,,
true],
["Experts","https://www.webreference.com/experts/",1,0,1],
["Contents","https://www.webreference.com/index2.html",1,0,0],
["Services","https://www.webreference.com/index2.html",1,0,0],
["About","https://www.webreference.com/about.html",1,0,0]
]
HM_Array4_1 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,0],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array5 = [
[100,                          // menu_width
70, // left_position
170,                            // top_position
"red",                         // font_color
"yellow",                      // mouseover_font_color
"yellow",                      // background_color
"black",                       // mouseover_background_color
"blue",                        // border_color
"green",                       // separator_color
1,                             // top_is_permanent
1,                             // top_is_horizontal
0,                             // tree_is_horizontal
1,                             // position_under
0,                             // top_more_images_visible
1,                             // tree_more_images_visible
"null",                        // evaluate_upon_tree_show
"null",                        // evaluate_upon_tree_hide
,							   // right_to_left
,						   // display_on_click
true,						   // top_is_variable_width
,						   	   // tree_is_variable_width
],
["Experts","https://www.webreference.com/experts/",1,0,1],
["Contents","https://www.webreference.com/index2.html",1,0,0],
["Services","https://www.webreference.com/index2.html",1,0,1],
["About","https://www.webreference.com/about.html",1,0,0]
]
HM_Array5_1 = [
[],
["3-D Animation","https://www.webreference.com/3d/",1,0,0],
["Design","https://www.webreference.com/dlab/",1,0,0],
["HTML","https://www.webreference.com/html/",1,0,0],
["JavaScript","https://www.webreference.com/js/",1,0,0],
["Graphics","https://www.webreference.com/graphics/",1,0,0],
["DHTML","https://www.webreference.com/dhtml/",1,0,0],
["Perl","https://www.webreference.com/perl/",1,0,0],
["XML","https://www.webreference.com/xml/",1,0,0]
]
HM_Array5_3 = [
[],
["Features","https://www.webreference.com/articles.html",1,0,0],
["Forum","https://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","https://www.webreference.com/dev/",1,0,0],
["New","https://www.webreference.com/headlines/",1,0,0],
["Hot Sites","https://www.webreference.com/hot/",1,0,0]
]
HM_Array5_1_6 = [
[],
["Diner","https://www.webreference.com/dhtml/diner/",1,0,0],
["Dynomat","https://www.webreference.com/dhtml/dynomat/",1,0,0],
["Links","https://www.webreference.com/dhtml/links/",1,0,0]
]

Next, the Netscape Navigator 4 external script.


Produced by Peter Belesis and

All Rights Reserved. Legal Notices.
Created: October 30, 2001
Revised: October 30, 2001

URL: https://www.webreference.com/dhtml/column60/9.html