Q/A about hiermenu by Peter Belesis.

Hi.

I'm trying to config this menu.
Need help from someone that used it before.
This is from the file HM_Arrays.js

The problem is that the tree [Blanketter] on HM_Array3
doesn't work. Can anybody explain?
If I set ["Blanketter","http://www.webreference.com/index2.html/",1,0,1],

to.. 1,0,0 the menu starts to work. If it is set to 1,0,1 the menu doesn't load at all? I don't get this..
No logic!



HM_Array3 = [
[141,          // menu width
2,          // left_position
102,               // top_position
"black",      // font_color
"white",   // mouseover_font_color
"#A6CAF0",   // background_color
"#006080",    // mouseover_background_color
"black",     // border_color
"gray",    // separator_color
1,               // top_is_permanent
0,          // 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

["Intradoc","http://www.webreference.com/experts/",1,0,1],
["Blanketter","http://www.webreference.com/index2.html/",1,0,1],
["Handbocker","http://www.webreference.com/index2.html",1,0,0],
["CA-System","http://www.webreference.com/about.html",1,0,1]
]

HM_Array3_1 = [
[],
["3-D Animation","http://www.webreference.com/3d/",1,0,0],
["Design","http://www.webreference.com/dlab/",1,0,0],
["HTML","http://www.webreference.com/html/",1,0,0],
["JavaScript","http://www.webreference.com/js/",1,0,0],
["Graphics","http://www.webreference.com/graphics/",1,0,0],
["DHTML","http://www.webreference.com/dhtml/",1,0,1],
["Perl","http://www.webreference.com/perl/",1,0,0],
["XML","http://www.webreference.com/xml/",1,0,0]
]


HM_Array3_1_6 = [
[],
["Diner","http://www.webreference.com/dhtml/diner/",1,0,1],
["Dynomat","http://www.webreference.com/dhtml/dynomat/",1,0,0],
["Links","http://www.webreference.com/dhtml/links/",1,0,0]
]
HM_Array3_2 = [
[],
["Fasta","http://u.com",1,0,0],
["Skrivbara","http://www.webreference.com",1,0,0],
]
HM_Array3_4 = [
[],
["Features","http://www.webreference.com/articles.html",1,0,0],
["Forum","http://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","http://www.webreference.com/dev/",1,0,0],
["New","http://www.webreference.com/headlines/",1,0,0],
["Hot Sites","http://www.webreference.com/hot/",1,0,0]
]
sporfexAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
HHHConnect With a Mentor Commented:

In the js-file I put:

HM_Array1_2 = [

HM_Array2_2 = [

HM_Array3_2 = [

And after each array I put this code:

[],
["Features","http://www.webreference.com/articles.html",1,0,0],
["Forum","http://www.webreference.com/cgi-bin/Ultimate.cgi?action=intro",1,0,0],
["How-to","http://www.webreference.com/dev/",1,0,0],
["New","http://www.webreference.com/headlines/",1,0,0],
["Hot Sites","http://www.webreference.com/hot/",1,0,0]
]

I got another dropdown menu 'contents >'

Maybe you also tried it, but this is as far as I get it. Can't see anything wrong. So put the code not only after HM_Array3_2 = [ but also a HM_Array2_2 = [ and a HM_Array1_2 = [

HHH
0
 
HHHCommented:
Is it possible to give a link so we can view the menu?
0
 
sporfexAuthor Commented:
0
 
sporfexAuthor Commented:
I just found the error:

["Skrivbara","http://www.webreference.com",1,0,0],

It should not be a comma at the end.
Now it is OK.

Thanks for your help. You get the points because you tried to help me.

Rgrds
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.