From: Lo?c C. <lo...@us...> - 2001-05-03 07:00:16
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv12910/chat Modified Files: users_popup.php3 Log Message: Fixed a bug with NS4: jsIsIE4 must be defined from the document itself and not from the users_popup.lib.js library Index: users_popup.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_popup.php3,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** users_popup.php3 2001/04/24 21:05:49 1.15 --- users_popup.php3 2001/05/03 07:00:12 1.16 *************** *** 297,300 **** --- 297,308 ---- <link rel="stylesheet" href="<?php echo($cssUrl); ?>" type="text/css" /> <!-- Collapsible rooms scripts --> + <script type="text/javascript" language="javascript1.2"> + <!-- + var jsIsDOM = (typeof(document.getElementById) != 'undefined') ? 1 : 0; + var jsIsIE4 = ((typeof(document.all) != 'undefined') && (parseInt(navigator.appVersion) >= 4)) ? 1 : 0; + var jsIsNS4 = (typeof(document.layers) != 'undefined') ? 1 : 0; + var jsIsVersion4 = (jsIsDOM || jsIsIE4 || jsIsNS4) ? 1 : 0; + //--> + </script> <script src="lib/users_popup.lib.js" type="text/javascript" language="javascript1.2"></script> </head> |