|
Win98
NS 4.75
somehow the mouseup in the below code is being
fired three times in NS 4.75, without fail.
Also, clicking ANY where in the document causes the
mouseup to be fired..
wierd, no?
(the code is inside a widget..)
this.Listener=new
EventListener(this);
this.Listener.onprecreate=function(evnt){ evnt.getTarget().setVisible(false); } this.Listener.oncreate=function(evnt){ var theNode=evnt.getTarget(); theNode.nodeOffset=theNode.parentNode.nodeOffset; theNode.nodeHeight=theNode.parentNode.nodeHeight; theNode.nodeWidth=theNode.parentNode.nodeWidth; theNode.imagePath=theNode.parentNode.imagePath; theNode.icon.src=theNode.imagePath + 'nodeicon.gif'; theNode.posNodes=theNode.parentNode.posNodes; theNode.makeLabel(); }; this.Listener.> evnt.setBubble(false); var theNode=evnt.getTarget(); if (evnt.x>theNode.h&&theNode.actionCode){ eval(theNode.actionCode); }else{ alert(evnt.getSource()); theNode.expandNode(); } }; this.addEventListener(this.Listener); --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/01 |
- Re: [Dynapi-Help] bloddy stragne occurance. Doug Melvin
- Re: [Dynapi-Help] bloddy stragne occura... Jordi - IlMaestro - Ministral
- Re: [Dynapi-Help] bloddy stragne oc... Doug Melvin
