MozillaZine

Replacing DHTML Menus with XUL

Monday April 5th, 2004

Nigel McFarlane writes in with news about his latest article on using XUL rather than DHTML to create Web page menus: "I've written another article highlighting the features of Mozilla. To the best of my knowledge this is the first 'dirty XUL trick' that might appeal to web developers. It's nice to see that the Mozilla styling and layout systems are robust enough to support this kind of fiddling. It would be wonderful to see a full Web toolkit of XBL objects spring up to replace the junk we do in Dynamic HTML."


#19 Re: I like CSS Menus

by bjherbison <bj@herbison.com>

Tuesday April 13th, 2004 7:48 AM

You are replying to this message

> What's wrong with hover pop ups?

Well, for starters there are accessibility issues. Hover pop-up menus are hard to use by people who have poor mouse control or can't use a mouse. Someone with shaky hands would get very frustrated using your CSS menu example, and I couldn't find any way to expand the menus from the keyboard.

Aside from the rudeness of excluding some people, some web developers have legal requirements to make their site accessible (e.g., US Government section 508 requirements).