Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs
In directory usw-pr-cvs1:/tmp/cvs-serv25215/chat/lib/index_libs
Modified Files:
start_page.lib.js
Log Message:
Fixed a bug under Mozilla
Index: start_page.lib.js
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/start_page.lib.js,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** start_page.lib.js 2001/06/16 10:20:14 1.13
--- start_page.lib.js 2001/11/29 23:01:50 1.14
***************
*** 36,40 ****
// Get the screen size
if (typeof(document.body) != 'undefined'
! && typeof(document.body.clientWidth) != 'undefined')
{
var theWinWidth = document.body.clientWidth;
--- 36,41 ----
// Get the screen size
if (typeof(document.body) != 'undefined'
! && typeof(document.body.clientWidth) != 'undefined'
! && document.body.clientWidth)
{
var theWinWidth = document.body.clientWidth;
***************
*** 52,56 ****
var aCell = document.getElementById('testSize');
// IE emphasizes a bit the column with -> handled in a special way
! var aColWidth = (typeof(aCell.clientWidth) != 'undefined')
? Math.floor(aCell.clientWidth / aCell.size)
: (aCell.offsetWidth / aCell.size);
--- 53,57 ----
var aCell = document.getElementById('testSize');
// IE emphasizes a bit the column with -> handled in a special way
! var aColWidth = (typeof(aCell.clientWidth) != 'undefined' && aCell.clientWidth)
? Math.floor(aCell.clientWidth / aCell.size)
: (aCell.offsetWidth / aCell.size);
|