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

Modified Files:
        dyndocument.js 
Log Message:
fixed findDimensions for Opera (first step!)

Index: dyndocument.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dyndocument.js,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** dyndocument.js      2001/02/24 21:48:03     1.8
--- dyndocument.js      2001/02/25 12:19:31     1.9
***************
*** 65,70 ****
  };
  DynDocument.prototype.findDimensions = function() {
!       this.w=(is.ns)? this.elm.innerWidth : this.doc.body.clientWidth;
!       this.h=(is.ns)? this.elm.innerHeight : this.doc.body.clientHeight;
  };
  DynDocument.prototype.setBgColor = function(color) {
--- 65,70 ----
  };
  DynDocument.prototype.findDimensions = function() {
!       this.w=(is.ns || is.opera)? this.elm.innerWidth : this.doc.body.clientWidth;
!       this.h=(is.ns || is.opera)? this.elm.innerHeight : this.doc.body.clientHeight;
  };
  DynDocument.prototype.setBgColor = function(color) {


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

Reply via email to