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

Modified Files:
        dynlayer.js 
Log Message:
Fixed own typo, + added a few semmi-colons

Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -r1.67 -r1.68
*** dynlayer.js 2001/10/14 15:37:06     1.67
--- dynlayer.js 2001/10/14 18:28:55     1.68
***************
*** 66,70 ****
                if (this.bgColor!=null) this.setBgColor(this.bgColor);
                if (this.bgImage!=null) this.setBgImage(this.bgImage);
!               if (this.clip) this.setClip(this.clip)
                if (this.z) this.css.zIndex=this.z;
                this.css.visibility=this.visible? "inherit" : "hide";
--- 66,70 ----
                if (this.bgColor!=null) this.setBgColor(this.bgColor);
                if (this.bgImage!=null) this.setBgImage(this.bgImage);
!               if (this.clip) this.setClip(this.clip);
                if (this.z) this.css.zIndex=this.z;
                this.css.visibility=this.visible? "inherit" : "hide";
***************
*** 72,76 ****
                for (i=0;i<this.doc.links.length;i++) this.doc.links[i].lyrobj=this;
        }
!       this.frame=this.parent.frame
        this.elm.lyrobj=this;
        this.assignChildren();
--- 72,76 ----
                for (i=0;i<this.doc.links.length;i++) this.doc.links[i].lyrobj=this;
        }
!       this.frame=this.parent.frame;
        this.elm.lyrobj=this;
        this.assignChildren();
***************
*** 151,157 ****
                else if (this.w!=null && this.h!=null) s+=' clip:rect(0px '+this.w+'px 
'+this.h+'px 0px);';
                if (this.z) s+=' z-index='+this.z+';';
!               if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');'
!               if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';'
!               if (is.ie55 && this.bgImage==null && this.html==null) s+=' 
background-image:'+DynAPI.librarypath+'dynapi/images/common/transparent.gif'
                s+=' position:absolute;">';
                if (this.html!=null) s+=this.html;
--- 151,157 ----
                else if (this.w!=null && this.h!=null) s+=' clip:rect(0px '+this.w+'px 
'+this.h+'px 0px);';
                if (this.z) s+=' z-index='+this.z+';';
!               if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');';
!               if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';';
!               if (is.ie55 && this.bgImage==null && this.html==null) s+=' 
background-image:url('+DynAPI.librarypath+'dynapi/images/common/transparent.gif);';
                s+=' position:absolute;">';
                if (this.html!=null) s+=this.html;
***************
*** 181,195 ****
        };
  };
! DynLayer.prototype._dynlayer_create = DynLayer.prototype.create
  DynLayer.prototype.create = function() {
!       this._dynlayer_create()
!       this.invokeEvent("resize")
! }
  if (is.ns) {
!       DynLayer.prototype._setX=function(){ this.css.left=this.x; }
!       DynLayer.prototype._setY=function(){ this.css.top=this.y; }
  } else {
!       DynLayer.prototype._setX=function(){ this.css.pixelLeft=this.x; }
!       DynLayer.prototype._setY=function(){ this.css.pixelTop=this.y; }
  };
  DynLayer.prototype.moveTo=function(x,y) {
--- 181,195 ----
        };
  };
! DynLayer.prototype._dynlayer_create = DynLayer.prototype.create;
  DynLayer.prototype.create = function() {
!       this._dynlayer_create();
!       this.invokeEvent("resize");
! };
  if (is.ns) {
!       DynLayer.prototype._setX=function(){ this.css.left=this.x; };
!       DynLayer.prototype._setY=function(){ this.css.top=this.y; };
  } else {
!       DynLayer.prototype._setX=function(){ this.css.pixelLeft=this.x; };
!       DynLayer.prototype._setY=function(){ this.css.pixelTop=this.y; };
  };
  DynLayer.prototype.moveTo=function(x,y) {


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

Reply via email to