Showing 138 scripts

Sort by name or size

AjaxCSSJS

AjaxCSSJS

AjaxCSSJS is a class for loading JavaScript and CSS files on-demand. (load dynamically)

Example1:
new AjaxCSSJS('layout.css', 'css');


Example2:
new AjaxCSSJS('js/ajaxtab.js', 'js');

Example3:
new AjaxCSSJS('js/ajaxtab.js', 'js', 
function() {alert('loaded')}
)

Example4 [New feature: remove()]
var style;

addCss = function() {
	style = new AjaxCSSJS('css/style1.css', 'css');
}

removeCss = function() {
	style.remove();
}
Website:
AjaxCSSJS
Author:
Ehsun Behravesh
Size:
1 KB
Last modified:
01/03/2009
License:
GNU General Public License v3
Tags:
ajax, domready, event
Rating:
0
(0/5 from 0 votes)
Your rating:
Please sign in or register to rate this script
Select multiple tags with Ctrl+click (Cmd+click on Mac)

Found a bug or have a suggestion?Let us know

bitsonnet corp · © 2007-2009 · all rights reserved

Sign In / Register / Forgot password