Javascript

TwitterFacebook
Get flash to fully experience Pearltrees
The jQuery special events API is a fairly flexible system by which you can specify bind and unbind hooks as well as default actions for custom events. http://benalman.com/news/2010/03/jquery-special-events/

Ben Alman » jQuery special events

So, you've tried your hand at writing jQuery plugins and you're comfortable putting together something that probably works. Awesome!

jQuery Boilerplate

http://jqueryboilerplate.com/
http://raphaeljs.com/ // Creates canvas 320 × 200 at 10, 50 var paper = Raphael( 10 , 50 , 320 , 200 ); // Creates circle at x = 50, y = 40, with radius 10 var circle = paper.circle( 50 , 40 , 10 ); // Sets the fill attribute of the circle to red (#f00) circle.attr( "fill" , "#f00" ); // Sets the stroke attribute of the circle to white circle.attr( "stroke" , "#fff" );

Raphaël—JavaScript Library

Standing on the shoulders of Scriptographer and making use of HTML5 standards, Paper.js is a comprehensive open source vector graphics scripting framework. Document Object Model http://paperjs.org/features/

Paper.js — Features

http://www.sitepoint.com/sophisticated-sorting-in-javascript/

Sophisticated Sorting in JavaScript » JavaScript & CSS » SitePoint Blogs

If sort() is called with no argument, then the array is sorted lexicographically — in dictionary order, when each value is treated as a string:
http://embedded-help.net/home

Embedded Help System

jQuery E-Help is plugin for procedural("How to ...") web user interface help and it's easy to integrate into any web interface that supports jQuery. Useful for all web applications, CMS and E-commerce systems.
http://blog.html.it/22/11/2010/scrivere-plugin-per-jquery/ Una delle caratteristiche più interessanti di jQuery è la sua estensibilità mediante plugin . Gli ideatori di jQuery hanno giustamente pensato che è praticamente impossibile creare una libreria che soddisfi tutte le esigenze degli sviluppatori.

Scrivere plugin per jQuery | Edit - Il blog di HTML.it

http://msdn.microsoft.com/en-us/magazine/cc163419.aspx Microsoft is conducting an online survey to understand your opinion of the MSDN Web site.

Advanced Web Applications With Object-Oriented JavaScript

JavaScript Object-Oriented Programming Part 2

In every function, a private variable — argument — is automatically created, holding an array of the arguments passed to the function. http://www.sitepoint.com/oriented-programming-2/
http://www.sitepoint.com/oriented-programming-1/ A less-known operator in JavaScript is the typeof operator. It tells you what type of data you’re dealing with.

JavaScript Object-Oriented Programming Part 1

Styling Checkboxes and Radio Buttons With CSS and JavaScript

In a nutshell, the JavaScript looks for every form element with class="styled" on it; hides the real form element; sticks a span tag with a CSS class on it next to the element; and, finally, mouse events are added to the span that handles the visual stages form inputs go through when they are clicked.

Andrew Hoyer | Cloth Simulation

The most computationally expensive part is trying to satisfy the constraints. To do this requires the calculation of distance between two points.

Learning Advanced JavaScript

1) Our Goal 2) Defining Functions 3) Named Functions 4) Functions as Objects 5) Context 6) Instantiation 7) Flexible Arguments 8) Closures 9) Temporary Scope 10) Function Prototypes 11) Instance Type 12) Inheritance 13) Built-in Prototypes 14) Enforcing Function Context 15) Bonus: Function Length