eg-259:lecture10
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-259:lecture10 [2011/03/06 11:35] – external edit 127.0.0.1 | eg-259:lecture10 [2011/03/07 08:34] (current) – old revision restored eechris | ||
---|---|---|---|
Line 35: | Line 35: | ||
* [[eg-259: | * [[eg-259: | ||
* [[eg-259: | * [[eg-259: | ||
+ | |||
+ | ===== Contents of this Lecture (2) ===== | ||
+ | |||
+ | Reacting to the mouse | ||
+ | |||
* [[eg-259: | * [[eg-259: | ||
* [[eg-259: | * [[eg-259: | ||
Line 52: | Line 57: | ||
* What are the standard values for the '' | * What are the standard values for the '' | ||
* What properties control the foreground and background colours of a document? | * What properties control the foreground and background colours of a document? | ||
- | * What events can be used to change a font when the mouse cursor is moved over and away from an element? | ||
- | * What property has the content of an element? | ||
- | ===== Learning Outcomes | + | ===== Learning Outcomes ===== |
//At the end of this lecture you should be able to answer these questions//: | //At the end of this lecture you should be able to answer these questions//: | ||
+ | * What events can be used to change a font when the mouse cursor is moved over and away from an element? | ||
+ | * What property has the content of an element? | ||
* What JavaScript variable is associated with the '' | * What JavaScript variable is associated with the '' | ||
* To move an element to the top of the display, do you set the '' | * To move an element to the top of the display, do you set the '' | ||
+ | |||
+ | ===== Learning Outcomes (continued) ===== | ||
+ | |||
+ | //At the end of this lecture you should be able to answer these questions//: | ||
+ | |||
* What exactly is stored in the '' | * What exactly is stored in the '' | ||
* What exactly is stored in the '' | * What exactly is stored in the '' | ||
Line 81: | Line 91: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 101: | Line 111: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 125: | Line 135: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 142: | Line 152: | ||
</ | </ | ||
* Example: [[/ | * Example: [[/ | ||
- | | + | |
---- | ---- | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 158: | Line 168: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 185: | Line 195: | ||
* Code: | * Code: | ||
- | <source / | + | < |
* A call to the function from an element sets the '' | * A call to the function from an element sets the '' | ||
Line 203: | Line 213: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 216: | Line 226: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 252: | Line 262: | ||
* Code -- HTML: | * Code -- HTML: | ||
- | <source / | + | < |
* Code -- JavaScript: | * Code -- JavaScript: | ||
- | <source / | + | < |
===== Dragging and Dropping an Element ===== | ===== Dragging and Dropping an Element ===== | ||
Line 272: | Line 282: | ||
* Code: | * Code: | ||
- | <source / | + | < |
Line 294: | Line 304: | ||
* [[eg-259: | * [[eg-259: | ||
* [[eg-259: | * [[eg-259: | ||
+ | |||
+ | ===== Summary of This Lecture (2) ===== | ||
+ | |||
+ | Reacting to the mouse | ||
+ | |||
* [[eg-259: | * [[eg-259: | ||
* [[eg-259: | * [[eg-259: | ||
Line 306: | Line 321: | ||
* What are the standard values for the '' | * What are the standard values for the '' | ||
* What properties control the foreground and background colours of a document? | * What properties control the foreground and background colours of a document? | ||
+ | |||
+ | ===== Learning Outcomes (continued) ===== | ||
+ | |||
* What events can be used to change a font when the mouse cursor is moved over and away from an element? | * What events can be used to change a font when the mouse cursor is moved over and away from an element? | ||
* What property has the content of an element? | * What property has the content of an element? | ||
+ | * What JavaScript variable is associated with the '' | ||
+ | * To move an element to the top of the display, do you set the '' | ||
Line 314: | Line 334: | ||
//At the end of this lecture you should be able to answer these questions//: | //At the end of this lecture you should be able to answer these questions//: | ||
- | * What JavaScript variable is associated with the '' | ||
- | * To move an element to the top of the display, do you set the '' | ||
* What exactly is stored in the '' | * What exactly is stored in the '' | ||
* What exactly is stored in the '' | * What exactly is stored in the '' |
eg-259/lecture10.1299411315.txt.gz · Last modified: 2011/03/06 11:42 (external edit)