CSS - Javascript loader (CJ Loader) is THE module you need to boost productivity, improve site performance, and offer user friendly websites.

Productivity boost

You want to load certain css/jscript only if customers have some specific items in cart (to let them know they can add some additional items to get a discount, for example)?

CJ Loader gives you the option to load specific css/javascript files in a specific order based on specific conditions. This module also allows you to use php code in your css files. This ultimate flexibility will help you boost your development process.

Conflict Free

Say you install 2 modules both requiring Jquery 1.3.2, normally you may be forced to load jquery twice which will significantly slow down your site. CJ Loader prevents 1 file being loaded more than once. For example, if 2 or more modules requiring the same file to be loaded, the file will be loaded only once. This is a perfect solution to avoid conflict with modules written by different authors (as long as those authors also use this module to load their js/css files)

Performance Boost

CJ Loader makes use of PHP Minify which will automatically combine/compress your css/js files for best performance.

Minify also makes sure that your css/js files are served with appropriate Expire Header for the best caching on your visitors' browsers.

User Friendly / Cross browser compatibility

CJ Loader allows you to load appropriate css/js files based on the browser the current visitor is using.

Credits

Special THANKS to

  1. Jeff Lew at numinix.com for suggesting the idea of using Minify and sending me the very first code to integrate Minify and Zencart.
  2. Steve Clay and other authors of Minify for putting time and effort into this great module and answering all my questions.
zencart/modules/css_javascript_loader/about.txt · Last modified: 2010/04/12 10:34 by yellow1912
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0