I may be doing something unnatural here with the new menu here... So if I am, just let me know.
My goal is to have the side menu display the options for the sub-section that is currently displayed, while leaving the top menu alone to work normaly. I have a test page at:
http://www.fcc-hsv.org/index_test.html and clicking on "members" takes you here:
http://www.fcc-hsv.org/members/index_test.html
Idealy I would code this to work with one set of definitions for the sub-sections, but right now these are two standalone data files.
Seems OK when you first display, but when you click on 'About Us' menu and then 'Our Windows', I get an 'Runtime Error line 94 Object required' in either top or side menu.
The hoizontal menu works fine on a page by itself, this error only occurs when I include the vertical menu on the page.
BTW - I am VERY excited about the tree/cascaing menu project, it will help on several other web sites I am working with!
Cut and paster
problem with cascading menu..
Hi,
The update to the treemenu.js module should help fix the error.
http://milonic.com/treemenu.js
Cheers
Andy
The update to the treemenu.js module should help fix the error.
http://milonic.com/treemenu.js
Cheers
Andy
No, didn't help
This may be something to do with the one menu open at a time logic, but the error occurs on lines where both showmenu= and URL= values appear.
Other dual menu stuff...
Yep, my bad. Thanks!
I have one other oddity that may also be my code but, if you would take a look at: http://www.fcc-hsv.org/members/index_test.html
When you first load the page the text on the active item (red) should be white (pagecolor?) on the side menu. It behaves oddly when you mouse over and off, but will turn white stay white at some point. I have seen it turn white, stay white and go on and off bold when mousing over other items on the horizontal or side menus (I assume this is correct), but the text may also switch between white and black when mousing over other items.
I have one other oddity that may also be my code but, if you would take a look at: http://www.fcc-hsv.org/members/index_test.html
When you first load the page the text on the active item (red) should be white (pagecolor?) on the side menu. It behaves oddly when you mouse over and off, but will turn white stay white at some point. I have seen it turn white, stay white and go on and off bold when mousing over other items on the horizontal or side menus (I assume this is correct), but the text may also switch between white and black when mousing over other items.
Code: Select all
with(tstyle1=new mm_style()){
onbgcolor="#CC3333" ;
oncolor = "#FFFFFF" ;
offbgcolor="#FFFFFF" ;
offcolor = "#000000" ;
onbold=1 ;
borderstyle = "solid" ;
bordercolor="#C0C0C0" ;
borderwidth=0 ;
separatorcolor="#C0C0C0";
separatorsize=1 ;
padding = 2 ;
fontsize = "12px" ;
fontstyle="normal" ;
fontfamily="Verdana, Tahoma, Arial" ;
pagecolor="FFFFFF" ;
pagebgcolor="#CC3333" ;
headercolor="#FFFFFF" ;
subimageposition="top right" ;
subimage="/img/clipart/black_arrow.gif"
onsubimage="/img/clipart/black_arrow_down.gif"
image="/img/clipart/trans2.gif" ;
subimagepadding=3 ;
imagepadding=2 ;
itemwidth=119 ;
}
Still workign oddly
Thanks Ruth,
Yep I see the missing # sign and it's now fixed, but the behavior persists (see my previous post inthis thread)
http://www.fcc-hsv.org/members/index_test.html
Current (fixed) data:
Yep I see the missing # sign and it's now fixed, but the behavior persists (see my previous post inthis thread)
http://www.fcc-hsv.org/members/index_test.html
Current (fixed) data:
Code: Select all
with(tstyle1=new mm_style()){
onbgcolor="#CC3333" ;
oncolor = "#FFFFFF" ;
offbgcolor="#FFFFFF" ;
offcolor = "#000000" ;
onbold=1 ;
borderstyle = "solid" ;
bordercolor="#C0C0C0" ;
borderwidth=1 ;
separatorcolor="#C0C0C0";
separatorsize=1 ;
padding = 2 ;
fontsize = "12px" ;
fontstyle="normal" ;
fontfamily="Verdana, Tahoma, Arial" ;
pagecolor="#FFFFFF" ;
pagebgcolor="#CC3333" ;
headercolor="#FFFFFF" ;
subimageposition="top right" ;
subimage="/img/clipart/black_arrow.gif"
onsubimage="/img/clipart/black_arrow_down.gif"
image="/img/clipart/trans2.gif" ;
subimagepadding=3 ;
imagepadding=2 ;
itemwidth=119 ;
}