随笔分类 -  ExtJs

摘要:if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment) { Range.prototype.createContextualFragment = function (html) { var frag = document.createDocumentFragment(), div = document.createElement("div"); frag.appendChild(div); div.outerHTML = html; 阅读全文
posted @ 2012-02-01 18:46 sulin 阅读(715) 评论(0) 推荐(0)
摘要:1. autoLoad: { url: link, scripts: true }*解决方法: 1.不能在被加载的页面上加<!-- //-->符号,否则不能正确截析javascript代码 2.若被加载页面含有ext代码时注意不能和加载的页面引入相同的包 (ext-all.js) 阅读全文
posted @ 2012-01-19 13:55 sulin 阅读(401) 评论(0) 推荐(0)
摘要:1.builds:包含可以使用其它库和extjs共有的文件2.build:可以自定义ext_all.js文件3.docs:文档中心(必须在服务器上查看)4.examples:官方示例5.resources:运行的各种资料文件6.src:源码7.bootstrap.js:加载一系列js库8.ext-all-debug-w-comments.js:带注释的的完整调试版本。文件比较大,加载时间比较长9.ext-all-debug.js : 不带注释的完整调试版本。文件也比较大,但很适合调试。10.ext-all.js ;压缩后的完整版本,文件比较小。使用该版本调试很困难,因此一般在发布产品时才使用1 阅读全文
posted @ 2012-01-17 23:05 sulin 阅读(959) 评论(0) 推荐(0)