dynapi-dev,你好:
dynapi2000.11.06
dynapi/js/lib/dynapi/ext/layer.js
DynLayer.prototype.setMaxSize=function(p,noev) {
if (!this.created && !p) return
var w=h=0
if (this.created) {
w=(is.ns?this.doc.width:parseInt(this.elm.scrollWidth))
h=(is.ns?this.doc.height:parseInt(this.elm.scrollHeight))
}
if (typeof(p)=='object') {
w=(w>p.w?w:p.w)
h=(h>p.h?h:p.h)
} else if (typeof(p)=='boolean') noevt=p <---noevt???Isn't it a noev???
this.setSize(w,h,noev)
}
gyc
fs...@ci...
|