2010年4月1日

JS/*关键字高亮*/

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--try{/*关键字高亮*/(function(replace_str){varreplace=replace_str.split("+");if(replace.length){$ES('.entry... 阅读全文

posted @ 2010-04-01 17:19 花易落 阅读(119) 评论(0) 推荐(0) 编辑

2008年9月3日

Prototype之详细解说

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* Prototype JavaScript framework, version 1.4.0 * (c) 2005 Sam Stephenson * * Prototype... 阅读全文

posted @ 2008-09-03 10:25 花易落 阅读(302) 评论(1) 推荐(1) 编辑

arguments,callee&caller测试

摘要: 关键字:arguments,callee,caller arguments:表示传入函数的参数 callee:表示函数和函数主体的语句 caller:表示调用该函数的函数 arguments 该对象代表正在执行的函数和调用它的函数的参数。 caller 返回一个对函数的引用,该函数调用了当前函数。 functionName.caller functionName 对象是所执行函数的名称。 说明 ... 阅读全文

posted @ 2008-09-03 10:22 花易落 阅读(222) 评论(0) 推荐(0) 编辑

关于ShowModalDialog数据缓存的清除

摘要: 有时修改了某些数据,然后通过ShowModalDialog来显示,这时通常显示出来的数据还是上一次的数据 可能ShowModalDialog缓存机制的问题,这时你就需要手动的去清除缓存或者写一些代码…… HTML方面 禁止浏览器从本地缓存中调阅页面。 网页不保存在缓存中,每次访问都刷新页面。 同上面意思差不多,必须重新加载页面 网页在缓存中的过期时间为0,一旦网页过期,必须从服... 阅读全文

posted @ 2008-09-03 10:20 花易落 阅读(174) 评论(0) 推荐(0) 编辑

Dom:关于clientWidth、offsetWidth、clientHeight、offsetHeight的测试比较

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->IE6.0、FF1.06+: clientWidth = width +padding clientHeight = height + padding offsetWidth = width +... 阅读全文

posted @ 2008-09-03 10:20 花易落 阅读(308) 评论(0) 推荐(0) 编辑

导航