[Project_owners] Dynamic menu help
Philip Chee
philip.chee at gmail.com
Wed May 10 11:18:45 EDT 2006
On Tue, 9 May 2006 15:42:35 -0700 (PDT), Eric H. Jung wrote:
> var submenupopup = document.createElement("menupopup");
> //submenupopup.setAttribute("onpopupshowing", function(){});
> submenu.appendChild(submenupopup);
> You'll notice (in FF, at least) that the dump statement is executed
> once for the parent <menupopup/> and once for the sub- <menupopup/>
> even if I set onpopupshowing for the submeunpopup to an empty fcn. It's
> //submenupopup.setAttribute("onpopupshowing",
function(){};event.stopPropagation());
Phil
--
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]I'm warning you! One step closer and I'll drop carrier!
* TagZilla 0.059
More information about the Project_owners
mailing list