Skip to content
World Wide Web Server edited this page Jul 4, 2012 · 7 revisions

Category:Libraries

Google AJAX Libraries library is a one line code for loading CDN hosted, compressed javascript libraries such as jquery and mootools! This means saved bandwidth for you and the possibility of a cached file on a visitor's browser.

[size=3][b]Usage[/b][/size] Load the library as normal: [code]$this->load->library('carabiner');[/code]

[size=3][b]Loading[/b][/size] To load one library: [code]$this->google_load->load("jquery")[/code] To load multiple libraries: [code]$this->google_load->load("jquery,jqueryui,mootools,scriptaculous,yui")[/code]

Google load also has a development environment where you can make the output code easier to read and a benchmark function. You can also turn compression of the libraries off.

List of libraries: jquery jqueryui prototype scriptaculous mootools dojo swfobject yui ext-core chrome-frame webfont

Google load makes loading javascript libraries super easy and in one line!

If you have any questions just ask! There is more documentation in on the files.

Download Carabiner in the [url=http://codeigniter.com/forums/viewthread/157689/]Ignited Code thread[/url] or from the Wiki:File:Google_load_1.0.zip

Clone this wiki locally