首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > OnDemand - Javascript,CSS和图像(预载,后装机,懒加载)

OnDemand - Javascript,CSS和图像(预载,后装机,懒加载)

  • 资源大小:4.09 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 图像 加载 装机

资 源 简 介

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(

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP