JavaScript: What can I say? I wanted the banana but I gotta blunder through the thorny tangle of an entire jungle just to catch that monkey holding my banana.
One day, while sleepily trying to figure out Javascript, under a threat of going into another coma again, I glanced at my library and saw my old Javascript Goodies book from 1999. This book uses "reverse engineering" style of learning and I am going to give it another shot. If it puts me to sleep too, well... I guess I'm doomed to never master this!
In the past, I attempted to learn Javascript every which way, via lectures, textbooks, given scripts which I sometimes can't fully comprehend what it does and most often, just praying that it will work when I put it into my HTML document. In 1999, I had a hard time following this Goodies book, and did not like the learning angle it used; but now, it's making sense to me. I guess I understand bits and pieces to appreciate this book which looks at the script first and then tears the script apart, explaining every step of it, before asking me to put it all back together and even create new scripts from it. So, let's see how this goes...
Chapter 1: Lesson 1Important Things to KnowScripting to a Webpage Script Activation Multiple Write Statements Assignment #1 Chapter 1: Lesson 2Error MessagesMultiple Errors Assignment #2 Chapter 1: Lesson 3Object PropertiesDeconstructing the Scripts Document Object Properties Navigator Object Properties History & Location Object Properties Assignment #3 Chapter 1: Lesson 4Wrap Up & Review Assignment #4 |
Chapter 2: Lesson 5The onMouseOver EventDeconstructing Event Handler Quotation Marks The Semicolon The return true Code Other Properties & Uses Multiple Events Assignment #5 Chapter 2: Lesson 6Events vs CommandsThe onClick Event The onFocus Event The onBlur Event The onChange Event The onSubmit Event The location.href Command The onLoad Event Assignment #6 Chapter 2: Lesson 7AfterEffect: onMouseOut AfterEffect: onUnload Assignment #7 |