I’m a student assistant to a professor at my university, and one of my jobs is to host the chair’s website.
We use a free Javascript menu called “coolmenu” in the top frame of a three-frame website. It’s basically a Java-based dropdown menu: You click one of the main items, and a submenu with several items which belong to that superior one drops down. Clicking one of the main items will also link to an html site on this item, the submenu items will link to different sites. It’s supposed to work like this (that’s the top frame from the webiste of another chair, which uses the same system).
Occasionally, I make modifications to this menu to add or delete submenu items, without changing the Javascript structure itself. Usually, this works just fine without any problems. Since a few days, however, I’m experiencing problems with the menu, most likely from a mistake of mine in the last modification, but I just don’t get what I did wrong.
Now, the result I get when I try to access the menu in a browser is this - a German note saying that the browser doesn’t support Javascript (which isn’t true, as the menu on the other webiste works just fine), together with a link to an auxiliary menu which is not Java-based and works, but is less cool. The latter one is the one I implemented on the homepage (here , if you’re interested in German civil law), simply because it works, but I’d be glad to have the Javascript one back working.
I made a number of attempts to correct this by copying and modifying the source code of the working menu of the other chair, and I came up with this site, which has the desired menu and submenu structure, but it’s not clickable - nothing happens when you click it. I suspect it has something to do with the “menu_def.js” file which is linked to in the header of the menu file, but I never modified that one, and when I opened it it didn’t seem to me as if this site needed to be adapted to the menu structure of the menu site. I guess it simply provides source information for the langauge, the taylor-made adaptation to your own site happens entirely on the menu site itself. Nonetheless, it doesn’t work, although I got a copy of the menu_def.js file from the other chair.
I’m pretty much confused because I can’t explain where the mistake is. I’d be happy and grateful if any dopers were kind enough to take a few minutes to look at the codes and dare a guess on what might be wrong.