资 源 简 介
Make the easy inclusion with Jinclude. With a simple line you can add an action to load any selector, or when you want to include separately. Making your project Lazy Load.
Demos:
http://eduardo.pacheco.kanema.com.br/plugin-jquery-load-js-css/
Examples:
```
/*
* OPTIONS
*/
$.Loader({
base: {
js : "http://jqueryui.com/ui/jquery.ui.",
css : "http://jqueryui.com/themes/base/jquery.ui.",
img : ""
},
debug : true
});
/*
* Show Highlighter in code
*/
$("pre[class^=brush]").Loader({
base: {
css: "SyntaxHighlighter/styles/sh",
js: "SyntaxHighlighter/scripts/sh"
},
url: [
"Core.js",
"BrushJScript.js",
"Core.css",
"ThemeDefault.css"
],
success: function() {
SyntaxHighlighter.config.clipboardSwf = "scripts/clipboard.swf";
SyntaxHighlighter.all();
}
});
/*
* TABS
*/
$("div#tabs").Loader(
{
url: [
"core.css",
"theme.css",
"tabs.css",
"core.js",
"widget.js",
"tabs.js"
],
success: function() {
$(this).tabs(