
06-27-2007, 02:35 AM
|
 |
|
|
Join Date: Sep 2006
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Hi. I'm looking forward to enable a special style for the users visiting my forum with Internet Explorer. It seems that when using Firefox, Opera or Safari my default style (CA EVO) works fine, but it's too slow to load on IE, so I want IE visitors to be presented a lighter style.
I've seen that this mod has a browser detection array
Quote:
$browsers = array(
"Windows CE",
"WebTV",
"AvantGo",
"Blazer",
"PalmOS",
"lynx",
"Go.Web",
"Elaine",
"ProxiNet",
"ChaiFarer",
"Digital Paths",
"UP.Browser",
"Mazingo",
"Mobile",
"T68",
"Syncalot",
"NetFront",
"Danger",
"Symbian",
"Symbian OS",
"SymbianOS",
"Maemo",
"Opera Mini",
"Nokia",
"Xiino",
"AU-MIC",
"EPOC",
"BlackBerry",
"Wireless",
"Handheld",
"Smartphone",
"SAMSUNG",
"320x240",
"240x320",
"PSP",
"J2ME",
"MIDP",
"MIDP-2.0",
"Opera Mini",
"Blackberry8700"
);
|
So I guess I could use something like
Quote:
$browsers = array(
"Internet Explorer 6",
"Internet Explorer 7",
"Maxthon"
);
|
but I'm not sure of which browser strings to use.
Besides: does this mod disallow for users to choose another style if they wish to? will they be forced to use lighter style when browsing with IE?
|