04 2008 档案

最常用的10个javascript自定义函数
摘要:If there was ever a universal common.js shared among the entire develosphere, you’d fine these ten (plus one bonus) functions. It would be the swiss army knife no developer would go into production without. They have no doubt been tested tried and true and have proven usefulness and helpfulness to all those who’ve used them. So without further ado, here are what I believe to the top ten greatest custom JavaScript functions in use today. 阅读全文

posted @ 2008-04-16 15:22 早班火车 阅读(427) 评论(0) 推荐(0)

IE与DOM下访问内联样式和外部样式表的常用方法总结
摘要:学习了《javascript高级程序设计》里的DOM高级编程,在这里总结了一下关于IE与DOM下访问内联样式和外部样式表的常用方法 1IE下访问内联样式的方法和style的两个常用属性 2DOM下访问内联样式的常用方法.(firefox) 3IE与DOM访问外部样式的方法及常用属性 4最后举一个用javascript动态给元素批量增加style的小例子。 阅读全文

posted @ 2008-04-14 11:30 早班火车 阅读(1486) 评论(4) 推荐(0)

关于javascript中的事件学习及总结
摘要:学习了《javascript高级程序设计》里的事件章节,在这里总结了一下关于IE与DOM事件的常用属性和方法 1关于事件对象 2关于IE与DOM事件兼容性的总结(参考javascript高级程序设计) 3关于跨平台事件(针对第二点各个属性在ie和ff下的不同) 4关于同一对象连续使用attachEvent执行顺序的问题. 阅读全文

posted @ 2008-04-09 13:05 早班火车 阅读(892) 评论(0) 推荐(0)