This can be disconcerting to the 50% of users who do use IE.
Add this to their loading window and they might not think it's hung - more, they know that it's okay to click refresh if need be.
In chat.js.tpl.php
Insert after the line <div id="pfc_loader">
- Code: Select all
<?php
function ae_detect_ie()
{
if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
return true;
else
return false;
}
if (ae_detect_ie()) {
$msg = "<br><i>Internet Explorer detected ...</i><br>click refresh if no entry within 1 minute";
} else {
$msg = "<br>... Loading Chat ...";
}
?>