Click to See Complete Forum and Search --> : Unusual implementation of H4 menus


mjoh44
03-06-2003, 03:57 PM
I've used dhtml to do the drop down menus and it works great.

For a new site that I'm launching, my client wants some behavior that I haven't yet figured out how to do.

There are two menus, a top level and options underneath that
displayed horizontally looks like

menu1:menu2:menu3:menu4:menu5:menu6
sub1:sub2:sub3:sub4:sub5:sub6

In the example above sub2 is chosen under menu2 and the results for that display is shown. Also all the sub stuff for menu 2 are displayed as html links on this page and have the exact same look/feel as the the dhtml versions of sub1, sub2, etc...

The client wants to be able to mouse over the other top menu stuff and have the dhtml appear over the top of the existing sub menu stuff. If the dhtml for the top menu selection isn't as big as the identical html behind it, the html needs to go away and come back if the user chooses not to leaver her/his original place.

I've figured out how on mouseover to make the html dissapear, the question is will the dhtml top menus take an onmouseover javascript event that is outside of it's own dhtml behavior to make that html dissapear.

Any suggestions? :confused:

mjoh44
03-13-2003, 05:24 PM
Okay, I figured out that the parameters HM_GL_UponDisplay and HM_GL_UponHide in the loader.js file were designed for the very purpose that I was questioning about earlier and specifically designed to hide windows elements that are called in a browser so that they don't interfere with the dynamic menu.

I've attempted to do it, and can make the elements dissapear when the code is placed directly on the page in the onmouseover and onmouseout handlers, but the calls to those functions within the loader script don't work(they do in the example at and I cannot figure out why.

Anybody know what the deal is?