随笔分类 - Javascript
摘要:简单的一个测试, 页面有六个div,都非常lite: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1 this is success div 写了一个jQuery的extend function: Code highlighting produc...
阅读全文
摘要:写一个很简单的页面和脚本 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3fanweixiao's test 4 10 11 12 13 相当简单的程序,在firefox上跑是没有问题的,但是在ie上就是没有预想的结果。很失误的随...
阅读全文
摘要:var o = 'hello world'; // first snippet (function() { alert(this); }).call(o); // second snippet window.setTimeout(function() { (function() { alert(this); }).call(o); }, 5000);
阅读全文