use
is_browser function .. will help you much
in php like this :-
PHP Code:
if(is_browser('ie'))
{
// Ie
} elseif (is_browser('ie') == 6) {
// if ie is 6
} elseif (is_browser('ie', 7)) {
// true if is ie 7 or grator.
} elseif (is_browser('firefox')) {
// its Frefox
}
/// .......... etc
more explanation found on "includes/functions.php" line ~ 5528
best regards
--------------- Added [DATE]1260447299[/DATE] at [TIME]1260447299[/TIME] ---------------
umm i think this will help two.
PHP Code:
if(!(is_browser('ie') == 6)) {
$template_hook['footer_links'] .='
<link type="text/css" rel="stylesheet" media="all" href="http://xxx.com/cometchat/cometchatcss.php" charset="utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>jqcc=jQuery.noConflict(true);</script>
<script type="text/javascript" src="http://xxx.com/cometchat/cometchatjs.php" charset="utf-8"></script>';
}