Fly-out Menu for Web Pages, tainted by Javascript - ΩJr. Software Articles and Products

This information lives on a web page hosted at the following web address: 'https://omegajunior.globat.com/code/'.

A.E.Veltstra
10 May 2004

A hierarchical menu for web pages. Its sub menus fly out due to the CSS hover pseudo-class, with a little push from javascript for the less apt browsers out there.

As you can see from the script used in this page and this script-free, pure-css example, Internet Explorer needs a little script to display the hierarchical menus. Modern browsers do not need the javascripting.

Why does this happen? Because in older versions of Microsoft's excuse for a web browser, the implementation of CSS is flawed. It thinks only hyperlinks can be hovered. Other elements don't get a hover pseudoclass.

Need problem solving?

Talk to me. Let's meet for coffee or over lunch. Mail me at “omegajunior at protonmail dot com”.