Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv14924

Modified Files:
        dynlayer.js 
Log Message:
+ Fixed bug for IE5.5 with events not being triggered on empty child layers. Might 
+still be some problems with events, but this one is definetly fixed.

Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** dynlayer.js 2001/01/08 22:00:25     1.9
--- dynlayer.js 2001/01/10 18:33:00     1.10
***************
*** 294,299 ****
                        s+=' clip:rect(0px '+dlyr.w+'px '+dlyr.h+'px 0px);';
                if (dlyr.z) s+=' zIndex='+dlyr.z;
!               if (dlyr.bgImage!=null) s+=' background-image:'+dlyr.bgImage+';';
!               if (dlyr.bgColor!=null) s+=' background-color:'+dlyr.bgColor+';';
                s+=' position:absolute;">';
                if (dlyr.html!=null) s+=dlyr.html;
--- 294,300 ----
                        s+=' clip:rect(0px '+dlyr.w+'px '+dlyr.h+'px 0px);';
                if (dlyr.z) s+=' zIndex='+dlyr.z;
!               if (dlyr.bgImage!=null) s+=' background-image:url('+dlyr.bgImage+');' 
// DCP : This works :)
!               if (dlyr.bgColor!=null) s+=' background-color:'+dlyr.bgColor+';'
!               if (is.ie55 && dlyr.bgImage==null && dlyr.html==null) s+=' 
background-image:url(javascript:null);' // DCP : Fixes IE5.5 specific event problem
                s+=' position:absolute;">';
                if (dlyr.html!=null) s+=dlyr.html;


_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to