在HTML中添加下面一行: <meta http-equiv="X-UA-Compatible" content="IE=8" /> 原文:http://www.oschina.net/question/109139_21077
2012-02-07 10:27 · Javascript
在页面中添加如下Js代码即可 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; return frag;…
2012-02-07 10:10 · Javascript
最近在项目中使用到了iframe标签,页面在firefox, chrome, ie9中都运行正常, 但是在ie6下页面却无法显示 列举个网上的解决方案:http://www.iteye.com/topic/386908 依次测试,发现问题依旧,最后看到(http://www.zhixing123.cn/computer/19004.html)说在服务器端开启了GZIP压缩可能会导致这个问题 。关闭apache的Gzip压缩后,重启apache,问题消失.
2012-02-01 16:25 · PHP
linux主机之间远程复制文件或目录命令: 复制文件: (1)将本地文件拷贝到远程 scp 文件名 --用户名@计算机IP或者计算机名称:远程路径 (2)从远程将文件拷回本地 scp --用户名@计算机IP或者计算机名称:文件名 本地路径 复制目录: (1)将本地目录拷贝到远程 scp -r 目录名 用户名@计算机IP或者计算机名称:远程路径 (2)从远程将目录拷回本地 scp -r 用户名@计算机IP或者计算机名称:目录名 本地路径 原文地址:http://hi.baidu.com/zhiminghe/blog/item/2b6ed82b0a4a0bf3e6cd40a9.html
2012-01-12 15:29