|
From: Jordi 'I. M. <jmi...@or...> - 2001-01-10 13:00:20
|
DynLayer.EventMethod:
....
if (is.ie) {
var e=dyndoc.elm.event;
e.cancelBubble=true;
if (e.type=="click" && DynAPI.wasDragging) {
// e.cancelBubble=true; this is already done two lines before
DynAPI.wasDragging=false;
return true;
}
if (e.type!="mouseout" && e.type!="mouseover") e.cancelBubble=true;
if (e.type=="mouseout" && this.contains(e.toElement)) return true;
if (e.type=="mouseover" && this.contains(e.fromElement)) return true;
}
.....
too many 'e.cancelBubble= true'. Either some are redundant or some of them should
not be there. Moving on....
Jordi 'IlMaestro' Ministral wrote:
> Ok, I've eaten and procesed all the new code in the API. I'm starting this new
> thread where I will reply myself and share my progress ( if any ). Good news is
> that my SMI (see my website for details) is finally finished, but I want to make
> sure it works with this precreation code ( which will hopefully decrease the
> time needed to initialize a big menulist ), before I release it.
>
> Ok. Facts
>
> A) The precreation code looks nice.
> B) The current cvs release doesn't have a buttonimage example. Instead, there's
> a button widget and the corresponding example. It doesn't work but that is
> because:
> C) The label widget doesn't work properly in IE, wich brings us to point:
> D) The label widget no longer uses a cover layer and cancelBrowserEvent() does
> not prevent text from being selectable.
> E) I'm not event using IE5.5 but 4.0 and 5.0
> F) Events in child layers in IE5 seem to get lost in the way and never reach the
> API. I still don't know under which circunstances a IE child layer decides that
> I am an evil person and therefore my code must not be executed and if possible a
> lightning should fry me dead.
> G) I've been testing and reloading and reloading and NS didn't crash one single
> time. That is good news.
>
> .
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
|