2篇文章
星期四, 11月 26, 2009
Discuz和jQuery的冲突有两点,在/include/javascript/common.js文件的 57~64之间有如下代码:
Array.prototype.push = function(value) { this[this.length] = value; return this.length; } function $(id) { return document.getElementById(id); }
Discuz为了兼容低版本的IE,重写了Array对象的push方法,但在重写之前没有做任何判断,改为一下形式:
星期日, 3月 23, 2008
IMAGE类包含变量含义
Cut out summary from your post content here.
The remaining content of your post.