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."
#10 Re: better use css than dhtml or xul on public web
Tuesday April 6th, 2004 5:13 AM
You are replying to this message
Whilst I agree that practically they are often the best solution, in reality, CSS based menus often suck:
They have to react to hovers rather than clicks
They are fragile to use (move the mouse away from the menu and it closes)
They tend to expose browser bugs
Whilst it's nice that CSS can be hacked into a providing a solution, it's not really designed to provide UI elements. That's why people are looking at standardising bits of XUL (or at least brining XUL-like features to a standard)  so there is a cross-browser solution that is designed to produce GUI elements that designers are actually using.
 See, for example <http://ln.hixie.ch/?start=1080506019&count=1>