Drawing Module Script Development Case Study September 13, 2013/0 Comments/ by melody.li About the client: This is an import and export corporation which built their plastic bags factory in Shenzhen of Guangdong province … Read more September 13, 2013 / by melody.li
JavaScript继承详解 May 16, 2011/0 Comments/ by simon 这一章我们将会重点介绍JavaScript中几个重要的属性(this、constructor、prototype), 这些属性对于我们理解如何实现JavaScript中的类和继承起着至关重要的作用。 this this表示当前对象,如果在全局作用范围内使用this,则指代当前页面对象window; … Read more May 16, 2011 / by simon
使用javascript检测浏览器的相关特性 May 16, 2011/0 Comments/ by simon 一、检测浏览器的名称 问题: 不同的浏览器对JavaScript的标准支持也有不同,有时希望脚本能够在不同的浏览器上都能运行良好,这时需要对浏览器进行检测,确定其名称,以针对不同的浏览器编写相应的脚本。 解决方案: 使用navigator对象的appName属性。 比如,要检测浏览器是否为IE,可以这么做: var … Read more May 16, 2011 / by simon
ActionScript和网页JavaScript互相调用 April 22, 2011/0 Comments/ by sophieJavaScript和ActionScript互相调用 Read more April 22, 2011 / by sophie
JavaScript学习枝节点 January 18, 2011/0 Comments/ by motta 这篇不是教程,只是我学习时的某些小问题的总结。 1. JavaScript是一种弱类型语言,可以说是一种伪面向对象语言,各种规范不是很严谨,像结尾结束符号“;”也是可有可无,字符串之类分段也可以后加””进行换行,更不用说不用指定类型,直接var i= … Read more January 18, 2011 / by motta