javascript 2

TwitterFacebook
Get flash to fully experience Pearltrees
ajax 1

html

ajax 2

http://placenamehere.com/article/306/x-ua-compatible/ So here I am a couple weeks after the IE team announced through a variety of different channels their proposal to help cushion the blow of their next browser release through the use of a META declaration and HTTP header, “X-UA-Compatible” describing what browser(s) the page and its associated styles and javascript files target. I’ve got plenty of thoughts on why vendor extensions and related adjustments to behavior are bad. I also have some concerns over this one in particular. Extensions, and more general workarounds and hacks of all kinds [vendor driven or not] get buried into code, reused, copy and pasted, dropped in application templates, removed by accident, and generally used by people who don’t know why they’re doing it, but instead just because it works.

Chris Casciano's Place Name Here: What Does X-UA-Compatible

300+Jquery, CSS, MooTools 和 JS的导航菜单

简介 如果你是网站前端开发人员,那么对你来说,也许做一个漂亮导航菜单会很得心应手。但今天我要为大家总结各种导航菜单的资源,以便让大家的网站前端开发的工作更方便更快速,只要选择现成的例子就可以应用于自己的网站了。 http://www.yeeyan.org/articles/view/47543/19224
http://www.cnblogs.com/samlin/archive/2008/11/06/1328319.html

js兼容来自蓝色理想 - Sam Lin

出下面写写我这段时间的一些心得,主要介绍兼容IE和FireFox方面,Opera9.0前的版本好像N多东西不支持,暂时不介绍,Opera9.0以后的版本在Javascript解释方面和FireFox比较接近。 我介绍的都是一些细节方面的东西,侧重于写一些不常见的情况,想到新的我会持续补充: 1、创建一个Element,通用的写法为createElement("div") IE中也可以这样写createElement("<div style='color:#FFFFFF'>"),但Firefox不认 2、IE中的width、height与Firefox中概念不同,IE中width=FireFox中的width+2*borderWidth+2*Padding 参见:http://help.powereasy.net/Template/WEB/1557.html 3、动态添加css代码 IE: 复制内容到剪贴板 代码: FireFox: var r = window.document.selection.createRange(); range.pasteHTML("HTML代码"); FireFox:

完美实现HTML在线编辑器回车单换行_绿豆牙的黑豆牙

http://hi.baidu.com/systn/blog/item/2e67b20e9283e1cc7bcbe1d9.html 在网上搜过关于这方面的内容,但都没有一个比较好的解决办法。以下我介绍的方法已经实际应用在blog.xoyo.com中,大家有兴趣的可以去实际体验一下,有问题也可以在我的blog上留言(http://blog.xoyo.com/ouran),作为系统的开发人员,我是很欢迎大家来使用逍遥的博客系统的。 一般的HTML在线编辑器在回车换行时都会生成一对p标签,这在页面上看来就是换了两行,因为P标签是段落标签。 为了实现跟普通的文本表单一样的效果,像网易的邮箱,sina的博客采用了一种方法来实现换单行。即在页面中初始加上一对或多对div标签。
http://kaijaeger.com/downloads/jsinq/playground/ Showing 37 row(s) Customers (Placeholder $0) Products (Placeholder $1) Orders (Placeholder $2) Query result Query compiled in 3 ms , executed in 0 ms , iterated over result set in 1 ms * , table view generated in 1 ms * A lot of the actual query execution happens during iteration.

JSINQ playground

http://www.west-wind.com/weblog/posts/2009/Jan/26/Javascript-Array-Fun

Javascript Array Fun - Rick Strahl&#039;s Web Log

A commenter – Josh - pointed out a small error in some code I posted a while back regarding a CSS property watcher component that can monitor changes in any CSS property and notify you by firing a function. The jQuery plug-in code keeps track of CSS properties and values in an array and whenever the properties monitored change an event is fired to let the event consumer know of the change and take appropriate action based on the change. My error in the code relates to how the array was declared which was: The intent was to create an empty array of the specified length, but that’s of course not what happens. It’ll create an array of 1 element with the length as a value.
作者 Daisuke Maki 译者 张凯峰 发布于 2008年8月6日 领域 语言 & 开发 主题 http://www.infoq.com/cn/articles/js_multithread

JavaScript多线程编程简介

08年 ,JavaScript总结 - Java - JavaEye新闻

http://www.iteye.com/news/4892-2008-javascript-summary Jacob Seidelin 在他的博客中写道: “2008年真是太棒了,不仅仅是因为很多厉害的人物在使用JavaScript和新的canvans元素,浏览器厂商也在竞争,试图超越对方在JavaScript方面的表现,这都证明了JavaScript的重要性。以下是我的总结: Games 对于JavaScript游戏来说这一年很伟大。使用DHTML和基于Canvas的游戏似乎有能力来接管Flash的一些领域。
http://www.cnitblog.com/yemoo/archive/2007/07/31/31006.html

最佳的addEvent是怎样诞生的[摘自网络] - A JavaScript Fancier - IT博客网

IE的 JScript 存在内存泄露的bug 想必大家都清楚或者有耳闻了。这是由于IE的内存回收管理器的一个设计错误导致的。当我们编写脚本的时候创建了交叉引用,例如如下代码: window.onload = function () { var x = document.getElementsByTagName(’H3’); for (var i=0;i { x[i].onclick = openClose; x[i].relatedElement = x[i].nextSibling; // simplified situation x[i].relatedElement.relatedElement = x[i]; } }或者在函数中使用脚本语言最常见的闭句Closures的时候,IE都无法回收内存。
我们提倡无论何时都尽可能地使用CSS,这样我们更容易取得成功.现在浏览器对CSS的支持已经非常好,肯定足以让你用来控制你的网页布局与排版.但,即使如此,还是有某些页面元素会在不同的浏览器下表现也不一样. http://www.yeeyan.org/articles/view/mouse4x/16101

使用javascript修复浏览器中12个常见而又头痛的问题

Separate content from presentation in order to make your website accessible to all users and devices, increase the longevity of your website (you won’t have to touch you HTML to alter the page’s layout), and enable the creating of new pages without worrying about consistency of appearance or layout. (Note that i wrote this in 2004 and posted here in 2007, so some stuff may be archaic). General CSS Rules

» CSS Best Practices -- CSS, JavaScript and XHTML Explained

This appendix contains the complete ECMAScript [ ECMAScript ] binding for the Level 2 Document Object Model HTML definitions. Note: Exceptions handling is only supported by ECMAScript implementation conformant with the Standard ECMA-262 3rd. Edition ([ ECMAScript ]). Objects that implement the HTMLCollection interface:

ECMAScript Language Binding

Anonymous function

In computer programming , an anonymous function (also function constant , function literal , or lambda function ) is a function (or a subroutine ) defined, and possibly called, without being bound to an identifier . Anonymous functions are convenient to pass as an argument to a higher-order function and are ubiquitous in languages with first-class functions such as Haskell . Anonymous functions are a form of nested function , in that they allow access to the variable in the scope of the containing function ( non-local variables ). Unlike named nested functions, they cannot be recursive without the assistance of a fixpoint operator (also known as an anonymous fixpoint or anonymous recursion ). Anonymous functions originate in the work of Alonzo Church in his invention of the lambda calculus in 1936 (prior to electronic computers), in which all functions are anonymous.

Javascript的匿名函数 @ 随网之舞

一、什么是匿名函数? 在Javascript定义一个函数一般有如下三种方式: 函数关键字(function)语句 : function fnMethodName(x){alert(x);} 函数字面量(Function Literals) : var fnMethodName = function(x){alert(x);} Function()构造函数 : var fnMethodName = new Function('x','alert(x);') 上面三种方法定义了同一个方法函数fnMethodName,第1种就是最常用的方法,后两种都是把一个函数复制给变量fnMethodName,而这个函数是没有名字的,即匿名函数。实际上, 相当多的语言都有匿名函数 。 二、函数字面量和Function()构造函数的区别

» Javascript Switch Statement Quirks -- CSS, JavaScript and XHTM

Javascript: Things you should know Note: This is part II of a "Javascript: Things you should know" series. I assume readers have an understanding of the core language. I try to cover quirks that are important, often lead to logic errors but don’t throw an error, and aren’t covered in most books or tutorials. The previous entry was Browser Detection versus Object Detection .