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."


#15 Re: Re: Re: better use css than dhtml or xul on pu

by jgraham

Tuesday April 6th, 2004 1:23 PM

You are replying to this message

Like this : <http://www-jcsu.jesus.cam…307/test/popup-demo.xhtml> ?

What I can't see is a way to make the menus disappear if you click on the body without using javascript. With the ability to do that, this technique would be great, without the ability to do that, it's at least as user-unfriendly as the hover menus.