Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.117.94.221
Current Path : /var/www/html/stph/js/ |
| Current File : /var/www/html/stph/js/includeCSS.js |
function CheckBrowserType()
{
var BrowserType = BrowserDetect.browser;
var BrowserVersion = BrowserDetect.version;
if (BrowserType=="Firefox")
{
var headID = document.getElementsByTagName("head")[0];
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href = 'css/tarka_FireFox.css';
headID.appendChild(cssNode);
}
else if(BrowserType=="Explorer")
{
if(BrowserVersion==8)
{
var headID = document.getElementsByTagName("head")[0];
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href = 'css/tarka_IE8.css';
headID.appendChild(cssNode);
}
else
{
var headID = document.getElementsByTagName("head")[0];
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href = 'css/tarka_IE6.css';
headID.appendChild(cssNode);
}
}
else if(BrowserType=="Safari" || BrowserType=="Chrome")
{
var headID = document.getElementsByTagName("head")[0];
var cssNode = document.createElement('link');
cssNode.type = 'text/css';
cssNode.rel = 'stylesheet';
cssNode.href = 'css/tarka-safari.css';
headID.appendChild(cssNode);
}
}
|