Benx Shen's Library tagged → View Popular
A re-introduction to JavaScript - MDC
-
It's useful to start with an idea of the language's history. JavaScript was created in 1995 by Brendan Eich, an engineer at Netscape, and first released with Netscape 2 early in 1996. It was originally going to be called LiveScript, but was renamed in an ill-fated marketing decision to try to capitalise on the popularity of Sun Microsystem's Java language — despite the two having very little in common. This has been a source of confusion ever since.
-
var name = o && o.getName();
- 10 more annotations...
Floatutorial: Step by step CSS float tutorial
-
Floatutorial takes you through the basics of floating elements
such as images, drop caps, next and back buttons, image galleries, inline lists
and multi-column layouts.
General info
-
Tutorial 5. Floating next and back buttons using lists
Float a simple list into rollover "back" and next "buttons". - 3 more annotations...
Javascript Closures
/* Assign the constructor's parameter to a property of the object:- */
-
- Closure
- A "closure" is an expression (typically a function) that
can have free variables together with an environment that binds
those variables (that "closes" the expression). -
Example 2: Associating Functions with Object Instance Methods
Javascript - Event order
-
When you use event capturing
| |
---------------| |-----------------
| element1 | | |
| -----------| |----------- |
| |element2 \ / | |
| ------------------------- |
| Event CAPTURING |
-----------------------------------the event handler of element1 fires first, the event handler of element2 fires last.
Event bubbling
When you use event bubbling
/ \
---------------| |-----------------
| element1 | | |
| -----------| |----------- |
| |element2 | | | |
| ------------------------- |
| Event BUBBLING |
-----------------------------------the event handler of element2 fires first, the event handler of element1 fires last.
-
addEventListener()
method explained on the Advanced models page.
If its last argument istruethe event handler is set for the capturing phase, if it isfalsethe event handler is set for the bubbling phase. - 1 more annotations...
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in tutorial
-
Poster Ideas
photoshop Tutorials , Ideas...
Items: 9 | Visits: 220
Created by: marco flores
-
Screencast/Tutorial Software
Items: 13 | Visits: 207
Created by: Darren Draper
-
Tutorials
Une liste dédiée aux tutori...
Items: 7 | Visits: 93
Created by: DELBAR Edouard
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
