js

TwitterFacebook
Get flash to fully experience Pearltrees
game

IE和FireFox在js和css的23处不同点(转贴) - Java世界 - BlogJava

1.document.formName.item("itemName") 问题 问题说明:IE下,可以使用 document.formName.item("itemName") 或 document.formName.elements ["elementName"];Firefox下,只能使用document.formName.elements["elementName"]。 解决方法:统一使用document.formName.elements["elementName"]。 问题说明:IE下,可以使用 eval("idName") 或 getElementById("idName") 来取得 id 为 idName 的HTML对象;Firefox下,只能使用 getElementById("idName") 来取得 id 为 idName 的HTML对象。 [注] 经验证,在IE中,设置margin:0px可以去除列表的上下左右缩进、空白以及列表编号或圆点,设置padding对样式没有影响;在Firefox 中,设置margin:0px仅仅可以去除上下的空白,设置padding:0px后仅仅可以去掉左右缩进,还必须设置list-style:none才 能去除列表编号或圆点。也就是说,在IE中仅仅设置margin:0px即可达到最终效果,而在Firefox中必须同时设置margin:0px、 padding:0px以及list-style:none三项才能达到最终效果。 http://www.blogjava.net/rabbit/archive/2009/01/20/252016.html
http://jsdoc.sourceforge.net/

JSDoc Homepage - JavaScript Documentation Tool

NOTE: This project is no longer actively developed or supported, as it has been replaced by the Rhino-based JSDoc project. For more information contact the JSDoc users group .
Open IIS Help , which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup , Common Administrative Tasks , and About Custom Error Messages .

ZT-剪贴板实现跨域iframe高度自适应 - 未来的馒头

http://www.chinajoyes.com/blog/article.asp?id=293

web.Frontend :: random things :: July :: 2006

http://old9.blogsome.com/2006/07/23/random-things-4/ IE:如果未指定语言(lang 属性),使用utf-8 就可以使用 Mingliu 字体,如果 html 中指定了语言为 zh-cn,那么使用 utf-8 也不行,只有另行再赋值 zh-tw(或 zh-hk) 到特定元素的 lang 属性才行,而对于 IE5,我测试的是要把字体加一号,font-size 设置为 12px 才行,奇怪;

Blog

If you'd like to start a new blog with WordPress.com, sign up now ! You can connect your new blog back to Windows Live via Messenger Connect. http://public-api.wordpress.com/wls/redirect.php?alias=yaba
Étape suivante: S'il vous plaît sélectionner un prix, entrez votre adresse courriel et de remplir vos informations de livraison pour avoir une chance de gagner! http://www.mf100.com/print.asp?id=1001

沐风经典 - JS写的cookie类

JavaScript中的类继承(一) - lycboy - 新浪BLOG

http://blog.sina.com.cn/s/blog_538171a3010001x8.html 但首先,为什么我们如此关心继承呢?主要有两个原因。第一个是类型有利。我们希望语言系统可以自动进行类似类型引用的转换 cast 。
http://thinhunan.cnblogs.com/archive/2006/04/01/developernotesforprototype.html#Reference.ObjectRange

博客园 - The shortest answer is doing - prototype.js 1.4版开发者手册(强烈推荐

你可以看到,这段代码比前面的例子更加简洁,不包括 onComplete 方法,但是在构造方法中传入了一个元素id。 我们来稍稍修改一下代码来描述如何在客户端处理服务器段错误成为可能。 我们将加入更多的选项, 指定处理错误的一个方法。
Effect.Appear , Effect.BlindDown , Effect.BlindUp , Effect.DropOut , Effect.Fade , Effect.Fold , Effect.Grow , Effect.Puff , Effect.Pulsate , Effect.Shake , Effect.Shrink , Effect.SlideDown , Effect.SlideUp , Effect.Squish , Effect.SwitchOff , Effect.ScrollTo Help port the old, dead wiki to github and earn BIG BROWNIE POINTS ! You can find a copy of the old wiki contents at http://script.aculo.us/docs . See some helpful hints for porting , and please follow the style guide ! http://madrobby.github.com/scriptaculous/

Prototype in scriptaculous wiki

http://www.bobbyvandersluis.com/articles/javascript_good_practices/index.html Web Standards are a three-legged stool , or without metaphors, a threesome of technologies that should live together in harmony. (X)HTML adds structure and semantics to your content, CSS is responsible for its presentation, and the DOM provides an interface to add behavior. You keep your Web pages flexible (or: easier to understand, maintain, restyle and update behavior) by separating all three layers; structure and content from presentation, structure and content from behavior and presentation from behavior. To accomplish this, try to avoid inline behavior and use unobtrusive techniques instead.

Ten good practices for writing JavaScript in 2005

首先,我们要先了解一下类的概念,JavaScript 本身是一种面向对象的语言,它所涉及的元素根据其属性的不同都依附于某一个特定的类。我们所常见的类包括:数组变量(Array)、逻辑变量(Boolean)、日期变量(Date)、结构变量(Function)、数值变量(Number)、对象变量(Object)、字符串变量(String) 等,而相关的类的方法,也是程序员经常用到的(在这里要区分一下类的注意和属性发方法),例如数组的push方法、日期的get系列方法、字符串的split方法等等,

蓝色理想 - 用 prototype 定义自己的方法

蓝色理想 - Object对象的一些的隐藏函数介绍

trace(Object.prototype.constructor == Object); //输出 true var a = new Object(); trace(a.constructor == Object); //输出 true var b = new Array(); trace(b.constructor == Array); //输出 true trace(b.constructor == Object); //输出 false trace(b instanceof Object); //输出 true 该属性功能和Object.constructor相似,区别在于它不是定义在类的prototype中的,而是当对象实例创建时附加到对象实例上的。同时,该属性也被super关键字作为父类构造函数使用时所隐含调用,用于指向父类的构造函数,即super(...)等价于this.__constructor__.call(this, ...)。 trace(Object.prototype.__constructor__ == Object); //输出 false var a = new Object(); trace(a.

png website

The PNG web site is organized into four basic categories of information (colored headings below), not counting the separate MNG/JNG site (covering PNG's animated and lossy cousins). There are more than 100 PNG web pages and roughly 30 MNG pages, but with luck this page will help you make sense of it all. Feel free to contact Greg if you have trouble finding something, but please be sure to read the Introduction and FAQ pages first!