[Phpfreechat-svn] SF.net SVN: phpfreechat: [760] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-09-13 17:58:21
|
Revision: 760 http://svn.sourceforge.net/phpfreechat/?rev=760&view=rev Author: kerphi Date: 2006-09-13 10:58:11 -0700 (Wed, 13 Sep 2006) Log Message: ----------- [en] Bug fix: no more blank screen on IE6. [fr] Bug fix : termine les ecrans blancs sous IE6. Modified Paths: -------------- trunk/src/client/pfcgui.js trunk/themes/default/style.css Modified: trunk/src/client/pfcgui.js =================================================================== --- trunk/src/client/pfcgui.js 2006-09-13 07:09:16 UTC (rev 759) +++ trunk/src/client/pfcgui.js 2006-09-13 17:58:11 UTC (rev 760) @@ -256,10 +256,14 @@ var div_online = this.getOnlineContentFromTabId(tabid); div_content.appendChild(div_chat); div_content.appendChild(div_online); - + $('pfc_channels_list').appendChild(li_title); $('pfc_channels_content').appendChild(div_content); + // force the height of the chat/online zone in pixel in order fix blank screens on IE6 + div_chat.style.height = ($('pfc_channels_content').offsetHeight-1)+'px'; + div_online.style.height = ($('pfc_channels_content').offsetHeight-1)+'px'; + return tabid; }, Modified: trunk/themes/default/style.css =================================================================== --- trunk/themes/default/style.css 2006-09-13 07:09:16 UTC (rev 759) +++ trunk/themes/default/style.css 2006-09-13 17:58:11 UTC (rev 760) @@ -33,7 +33,6 @@ background-color: #FFF; margin-top: 5px; height: 300px; - font-family: serif; /* needed by IE6 in order to display correctly chinese characteres */ } div.pfc_content { } @@ -90,7 +89,8 @@ top: 0; left: 0; width: 80%; - height: 100%; +/* WARNING: do not fix height in % because it will display blank screens on IE6 */ +/* height: 100%;*/ overflow: auto; } @@ -101,7 +101,8 @@ padding: 0; overflow: auto; width: 20%; - height: 100%; +/* WARNING: do not fix height in % because it will display blank screens on IE6 */ +/* height: 100%;*/ color: #000; /* colors can be overriden by js nickname colorization */ background-color: #FFF; background-image: url("proxy.php?p=default/images/online-separator.gif"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |