Feb 19
I continued reading through the Eloquent JavaScript book this week, focusing on chapters 12 - 14 (in the Browser section). Chapter 12 (JavaScript and the Browser) was just review of stuff I'd already seen.
Chapter 13 (The Document Object Model) began introducing some new stuff. It discussed the DOM structure - body, parent and children nodes - and how to access various nodes through JavaScript code. The nodes can be accessed through their tags or id's (we've worked with that before). This structure gives the coder the capacity to hide, change, replace or remove various nodes as well as locate/search for items within the webpage.
Chapter 14 was a little more dense. The focus was Handling Event - basically specifying what happens in response to various actions performed on a webpage. For example, on my webpage, when the user scrolls over the trail it becomes more transparent and when they click, something else happens. Timers and scroll events are two more examples of events that can be managed in JavaScript. Maybe we could walk through some of the examples included in the text?
As far as my web-page goes, I didn't put much time into it this week. I think that will be my main priority for next week as well as data collection.
Jim says
Here are some resources that give more
specifics on DOM events.