随笔分类 -  JavaScript

JavaScript相关
摘要:兼容ie和ff, chrome 主框架代码<html><head><meta http-equiv="Content-Type" content="text/html; charset=gbk" /></head><body>支持跨域的框架高度自适应<hr><iframe id="autoFrame" name="aut... 阅读全文
posted @ 2010-03-25 19:47 Glacier 阅读(498) 评论(0) 推荐(0)
摘要:正则表达式(regular expression)对象包含一个正则表达式模式(pattern)。它具有用正则表达式模式去匹配或代替一个串(string)中特定字符(或字符集合)的属性(properties)和方法(methods)。正则表达式构造函数: new RegExp("pattern"[,"flags"]);参数说明:pattern -- 一个正则表达式文本flags -- 如果存在,将是... 阅读全文
posted @ 2009-12-26 22:09 Glacier 阅读(235) 评论(0) 推荐(0)
摘要:总结JavaScript中一些字符串的操作 阅读全文
posted @ 2008-08-22 10:04 Glacier 阅读(904) 评论(0) 推荐(0)
摘要:用JavaScript实现在页面上手动画线的功能。 阅读全文
posted @ 2008-08-08 11:26 Glacier 阅读(1448) 评论(1) 推荐(0)
摘要:总结JavaScript实现浏览器菜单的一些功能的代码。 阅读全文
posted @ 2008-08-08 10:52 Glacier 阅读(442) 评论(0) 推荐(0)
摘要:收藏一些JavaScript在.net中的使用技巧。 阅读全文
posted @ 2008-08-08 10:48 Glacier 阅读(413) 评论(0) 推荐(0)