The hidden feature of CSS Javascript Loader
One of the most important feature many web developers need is the ability to load different css file based on the different browser/browser being used. There are more than one modules available on Zencart download that provide this specific feature, but if you already use CJ Loader (and you should), you already has this ability.
CJ Loader at of this version automatically load your browser specific as well as browser+version specific css and jss files.
For example:
ie.css — this file will be loaded when your users access via MS Internet Explorer
ie6.css — this file will ALSO be loaded when your users access via MS Internet Explorer and the browser version is 6.x
Currently supported file types: css, js
Currently supported browsers: (except Internet Explorer, for all the other browsers the filenames should be the lowercase version of the browser names below)
‘Opera’;//http://www.opera.com/
‘OperaMini’;//http://www.opera.com/mini/
‘WebTV’;//http://www.webtv.net/pc/
‘InternetExplorer’;//http://www.microsoft.com/ie/
‘PocketInternetExplorer’;//http://en.wikipedia.org/wiki/Internet_Explorer_Mobile
‘Konqueror’;//http://www.konqueror.org/
‘iCab’;//http://www.icab.de/
‘OmniWeb’;//http://www.omnigroup.com/applications/omniweb/
‘Firebird’;//http://www.ibphoenix.com/
‘Firefox’;//http://www.mozilla.com/en-US/firefox/firefox.html
‘Shiretoko’;//http://wiki.mozilla.org/Projects/shiretoko
‘Mozilla’;//http://www.mozilla.com/en-US/
‘Amaya’;//http://www.w3.org/Amaya/
‘Lynx’;//http://en.wikipedia.org/wiki/Lynx
‘Safari’;//http://apple.com
‘iPhone’;//http://apple.com
‘iPod’;//http://apple.com
‘Opera’;//http://www.opera.com/
‘OperaMini’;//http://www.opera.com/mini/
‘WebTV’;//http://www.webtv.net/pc/
‘InternetExplorer’;//http://www.microsoft.com/ie/
‘PocketInternetExplorer’;//http://en.wikipedia.org/wiki/Internet_Explorer_Mobile
‘Konqueror’;//http://www.konqueror.org/
‘OmniWeb’;//http://www.omnigroup.com/applications/omniweb/
‘Shiretoko’;//http://wiki.mozilla.org/Projects/shiretoko
‘Amaya’;//http://www.w3.org/Amaya/
‘Chrome’;//http://www.google.com/chrome
‘Android’;//http://www.android.com/
‘GoogleBot’;//http://en.wikipedia.org/wiki/Googlebot
‘Yahoo!Slurp’;//http://en.wikipedia.org/wiki/Yahoo!_Slurp
‘W3CValidator’;//http://validator.w3.org/
‘BlackBerry’;//http://www.blackberry.com/
‘IceCat’;//http://en.wikipedia.org/wiki/GNU_IceCat
‘NetscapeNavigator’;//http://browser.netscape.com/(DEPRECATED)
‘Galeon’;//http://galeon.sourceforge.net/(DEPRECATED)
‘NetPositive’;//http://en.wikipedia.org/wiki/NetPositive(DEPRECATED)
‘Phoenix’;//http://en.wikipedia.org/wiki/History_of_Mozilla_Firefox(DEPRECATED)
(In the future, we may rework CJ Loader a bit here to NOT automatically checking for these files unless told to do so.)
Related posts:
- Zencart Css Javascript Loader Released Yes, Zencart Css Javascript Loader aka CJ Loader is finally...
- New version of CJ Loader released This new version has some major updates: The browser detection...


