Benx Shen's Library tagged → View Popular
VI Cheat Sheet
-
[[
Jump to top of section (default: top of document)
]]
Jump to bottom of section (default: bottom of document)
H
Jump to top of screen ('4H' will Jump to 4 lines below top of screen)
L
Jump to bottom of screen ('4L' will Jump to 4 lines above bottom of screen)
G
Goto EOF ('4G' will Goto Line 4)
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...
Ajaxian » URI vs. URL: What’s the difference?
-
I think simplest explanation works best:
URI identifies. URL locates.
or
URI is a name. URL is a location.
-
You got it all wrong. It is not about if a URI is a name is a locator or not. Or if the URI has a file extension or not. (URI never has the concept of file extension, it is that you think it has a file extension. ). It is about if a URI is bound with a network protocol. In other words, if you can get something back from the URI. W3C didn’t realize this earlier. Now, the term URL and URN is deprecated because the distinction is arbitrary.
Just use URI from now on.
See the URI spec http://www.ietf.org/rfc/rfc3986.txt.
- 1 more annotations...
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in reference
-
Reference for wedding-web
Items: 49 | Visits: 224
Created by: Hexy Hwang
-
Web Design for Organizations (LIS590LWL)
We go through so many websi...
Items: 36 | Visits: 163
Created by: E Barney
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
