Skip to content

Latest commit

 

History

History

events

##HTML DOM Events

http://www.w3schools.com/jsref/dom_obj_event.asp

##Event

https://developer.mozilla.org/en-US/docs/Web/API/Event

##Event reference

https://developer.mozilla.org/en-US/docs/Web/Events

##HTML DOM addEventListener() Method

http://www.w3schools.com/jsref/met_element_addeventlistener.asp

##HTML DOM removeEventListener() Method

http://www.w3schools.com/jsref/met_element_removeeventlistener.asp

##Bubbling and capturing

http://javascript.info/tutorial/bubbling-and-capturing

##Capturing vs. Bubbling

http://jsfiddle.net/budostylzz/qonbe4so/

##Event.stopPropagation()

https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation

##Event.preventDefault()

https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault

##DOM Event Flow

https://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-phases

##Handling Events for Many Elements

https://www.kirupa.com/html5/handling_events_for_many_elements.htm

##InLine Event Handling

http://jsfiddle.net/budostylzz/hqtezs0t/

##Traditional Event Handling

http://jsfiddle.net/budostylzz/9vmqpkbw/

##DOM Level 3 Event Handling

http://jsfiddle.net/budostylzz/vL77v0x0/

##MouseEvent

https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent

##MouseEvent relatedTarget Property

http://www.w3schools.com/jsref/event_relatedtarget.asp

##Working With the Keyboard

https://www.kirupa.com/html5/keyboard_events_in_javascript.htm

##Javascript Key Codes(Test Your Key Codes Here)

http://www.cambiaresearch.com/articles/15/javascript-key-codes

##Keyboard Keys and Key Code Values

http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00000520.html

##MDN KeyCodes

https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode

##Browser Support Adjustmet for KeyCode DOM Spec

http://www.w3schools.com/jsref/event_key_keycode.asp

##Puck Example(Click Puck to See Output)

http://courses.dce.harvard.edu/~cscie3/examples/week9/mouseevent.html

##JavaScript KeyCodes Fiddle

http://jsfiddle.net/budostylzz/8ebpw3hf/

##Keyboard Event on Div(tabindex attribute)

http://jsfiddle.net/budostylzz/su5h16ka/

##Pong Game

http://courses.dce.harvard.edu/~cscie3/examples/week9/events.html

##Form Event(change)

https://developer.mozilla.org/en-US/docs/Web/Events/change

##Cool Text Editor

http://courses.dce.harvard.edu/~cscie3/examples/week9/textarea.html

##Single Parallax(Parallax -> Elements Scroll at Different Rates

http://courses.dce.harvard.edu/~cscie3/examples/week9/singleparallax.html

##Multiple Parallax

http://courses.dce.harvard.edu/~cscie3/examples/week9/parallax.html

##Understanding JavaScript Closures

https://javascriptweblog.wordpress.com/2010/10/25/understanding-javascript-closures/

##Javascript closure explained using events

http://jondavidjohn.com/javascript-closure-explained-using-events/

##Closure Example(View Source)

http://courses.dce.harvard.edu/~cscie3/examples/week9/boxes-closure.html