|
From: Michael P. <mp...@ph...> - 2001-01-12 03:47:23
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
oops. I should have also said that the folowing alteration also needs
to be made.
<p><tt>DynDocument.prototype.invokeEvent=DynLayer.prototype.invokeEvent;</tt>
<p>Michael Pemberton wrote:
<blockquote TYPE=CITE>I've noticed that there is only two lines difference
between the DynDocument and DynLayer invokeEvent methods.
<p>I'd suggest we simply alter the final lines to read as follows:
<br><tt> if (this.isDynLayer && is.ns &&
e) {</tt>
<br><tt> if (e.cancelBubble)
return;</tt>
<br><tt> if (orig &&
orig.target.handleEvent && orig.target!=this.elm) orig.target.handleEvent(type,orig);</tt>
<br><tt> } else if (this.isDynDocument && (i!=0
|| e) && is.ns) {</tt>
<br><tt> if (e.cancelBubble)
return;</tt>
<br><tt> if (orig &&
orig.target.handleEvent && !orig.target.URL) orig.target.handleEvent(orig);</tt>
<br><tt> };</tt>
<p>If I've missed something and am completly wrong, please point out the
errors of my way. If not, it might be worth making the alterations
to the CVS version.
<br>--
<br>Michael Pemberton
<br>mp...@ph...
<br>ICQ: 12107010
<br> _______________________________________________ Dynapi-Dev mailing
list Dyn...@li... <A HREF="http://lists.sourceforge.net/lists/listinfo/dynapi-dev">http://lists.sourceforge.net/lists/listinfo/dynapi-dev</A></blockquote>
<p>--
<br>Michael Pemberton
<br>mp...@ph...
<br>ICQ: 12107010
<br> </html>
|