From: Richard B. <ric...@us...> - 2001-11-01 10:40:45
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv23313 Modified Files: dyndocument.js Log Message: Aplied [ #435679 ] Document dimensions patch Index: dyndocument.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dyndocument.js,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** dyndocument.js 2001/06/20 02:32:18 1.18 --- dyndocument.js 2001/11/01 10:40:42 1.19 *************** *** 15,19 **** this.elm.lyrobj=this; this.doc.lyrobj=this; ! this.findDimensions(); } DynDocument.prototype = new DynObject(); --- 15,19 ---- this.elm.lyrobj=this; this.doc.lyrobj=this; ! this.findDimensions(); } DynDocument.prototype = new DynObject(); *************** *** 45,48 **** --- 45,53 ---- 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; + if (is.ns && this.frame.parent.frames.length>1) { + if (is.ns4) { this.w=this.w+4; this.h=this.h+4; } + else this.h=this.h-2; + }; + return; }; DynDocument.prototype.setBgColor = function(color) { |