Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv1082
Modified Files:
dynlayer.js
Log Message:
Included Michael Pemberton's shorter include() code
Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** dynlayer.js 2001/01/16 18:18:14 1.14
--- dynlayer.js 2001/01/17 19:01:15 1.15
***************
*** 452,458 ****
if (noevt!=false) this.invokeEvent('resize');
};
! DynLayer.prototype.setWidth = function(w,noevt) {
! this.w = (w==null)? this.w : w<0? 0 : w;
! if (this.w==null) return;
if (this.css!=null) {
if (is.ns4) this.css.clip.width = this.w;
--- 452,458 ----
if (noevt!=false) this.invokeEvent('resize');
};
! DynLayer.prototype.setWidth=function(w,noevt) {
! this.w=(w==null)?this.w:w<0?0:w
! if (this.w==null) return
if (this.css!=null) {
if (is.ns4) this.css.clip.width = this.w;
***************
*** 464,470 ****
if (noevt!=false) this.invokeEvent('resize');
};
! DynLayer.prototype.setHeight = function(h,noevt) {
! this.h = (h==null)? this.h : h<0? 0 : h;
! if (this.h==null) return;
if (this.css!=null) {
if (is.ns4) this.css.clip.height = this.h;
--- 464,470 ----
if (noevt!=false) this.invokeEvent('resize');
};
! DynLayer.prototype.setHeight=function(h,noevt) {
! this.h=(h==null)?this.h:h<0?0:h
! if (this.h==null) return
if (this.css!=null) {
if (is.ns4) this.css.clip.height = this.h;
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs