From: Pascal B. <pa...@dy...> - 2000-11-01 11:16:29
|
Hehe, my site has been "invisible" for IE4 users for a while.. so it was about time that I fixed it :-) I made a small fix in the core.ext.inline file: DynLayer.prototype.updateValues=function() { if (is.ns) { this.x=parseInt(this.css.left) this.y=parseInt(this.css.top) this.w=is.ns4? this.css.clip.width : parseInt(this.css.width) this.h=is.ns4? this.css.clip.height : parseInt(this.css.height) if (is.ns4) this.clip=[this.css.clip.top,this.css.clip.right,this.css.clip.bottom,this.c ss.clip.left] this.bgColor = this.doc.bgColor!="this.doc.bgColor"?this.doc.bgColor:null this.bgImage = this.elm.background.src!=""?this.elm.background.src:null this.html = this.innerHTML = this.elm.innerHTML = "" } else if (is.ie) { this.x=this.elm.offsetLeft this.y=this.elm.offsetTop /* Changed following lines for IE4, adding getcontentWidth and getContentHeight, this fixes height problems on inline-layers without a height defined in there style (making the height=0 so "invisible") */ this.w=is.ie4? this.css.pixelWidth||this.getContentWidth() : this.elm.offsetWidth this.h=is.ie4? this.css.pixelHeight||this.getContentHeight() : this.elm.offsetHeight this.bgImage = this.css.backgroundImage this.bgColor = this.css.backgroundColor this.html = this.innerHTML = this.elm.innerHTML } this.z = this.css.zIndex var b = this.css.visibility this.visible = (b=="inherit"||b=="show"||b=="visible"||b=="") } greets! Pascal Bestebroer pb...@oi... http://www.oibv.com |