CpSc 217 - Structured and Dynamic Web Programming
The notes found on these pages all reference the textbook given above.
Unless otherwise stated, the citation of the information on these web pages
is that text.
Mouse events (page 467)
- clientX and clientY properties
- can have events call Javascript functions
- document.onmousemove = mouseMove; //mouseMove() is a function you write
- mouse move
- addEventListener(a,b,c) //a is event type;b is function to invoke; c boolean
false for handler, true for capturing
- removeEventListener()
- Events - onchange, onMouseOver
- dragging - Example 17-2 page 468
- Dragging