From: Robert R. <rra...@ya...> - 2000-10-31 03:57:00
|
I was wondering why the DynLayer.EvenMethod and DynDocument.EventMethod couldn't be combined since we can distinguish between the two. Like DynDocument.prototype.EventMethod=DynLayer.prototype.EventMethod I haven't tested yet, but then couldn't you say: DynLayer.prototype.EventMethod = function(e) { var dyndoc=this.isDynLayer? this.lyrobj.dyndoc : this.lyrobj if (is.ie) { var e=dyndoc.elm.event ..... Robert -- Email: <mailto:rra...@ya...> PGP Key ID: 0x703D7F7C |