[Phpfreechat-svn] SF.net SVN: phpfreechat: [1129] trunk/data/public/js/pfcprompt.js
Status: Beta
Brought to you by:
kerphi
From: <gpi...@us...> - 2007-08-17 11:59:04
|
Revision: 1129 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1129&view=rev Author: gpinzone Date: 2007-08-17 04:59:00 -0700 (Fri, 17 Aug 2007) Log Message: ----------- IE 5.5 fix needed fixing. Modified Paths: -------------- trunk/data/public/js/pfcprompt.js Modified: trunk/data/public/js/pfcprompt.js =================================================================== --- trunk/data/public/js/pfcprompt.js 2007-08-16 23:40:18 UTC (rev 1128) +++ trunk/data/public/js/pfcprompt.js 2007-08-17 11:59:00 UTC (rev 1129) @@ -104,7 +104,8 @@ this.bgbox.style.left = pos[0]+'px'; /* Some older IE browsers (e.g., IE 5.5) need scrollHeight/scrollWidth. See: http://www.quirksmode.org/viewport/compatibility.html */ - if (this.container.scrollHeight > this.container.offsetHeight) + if (this.container.scrollHeight > this.container.offsetHeight + || this.container.scrollWidth > this.container.offsetWidth) { this.bgbox.style.height = this.container.scrollHeight+'px'; this.bgbox.style.width = this.container.scrollWidth+'px'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |