Register your product to gain access to bonus material or receive a coupon.
Question 1: Where is the source code for this book?
Solution 1: The source code can be found at http://www.htmlgoodies.com/JSBook/
This book is a fun and easy introduction to increasing your Web site's interactivity with JavaScript. Author Joe Burns' content and approach have been proven by the success of the HTML Goodies Web site. The HTML Goodies Web Site (www.htmlgoodies.com) receives over 390,000 visitors a month. The site has received over 75 awards in the last year, from such organizations as USA Today and CMP Publishing (publishers of popular computer magazines like Home PC, Windows Magazine, and Internet Week). The newest part of the Web site, JavaScript Goodies, has also become the most popular. This book takes the same approach to teaching as his popular Web site: know what beginners need, give them great examples and code they can immediately use, and keep it fast and fun. The book goes far beyond JavaScript basics. It teaches readers sophisticated programming techniques and shows readers how to build the most popular interactive Web features, including animations, slideshows, visitor counters, random number generators, and more. The book is heavily tied into the Web site--each lesson and example in the book will have a direct URL to the JavaScript area on the HTML Goodies Web site where the reader can actually see exactly how the HTML code works. The Web Goodies site will also heavily advertise and cross-promote the book.
An Introduction by Joe Burns.
Why Now? My Co-Author. How You Will Learn. The Format of the Lessons. Examples and Assignments.
What Is JavaScript? Lesson 1: Printing Text on a Web Page. Lesson 2: Error Messages. Lesson 3: Object Properties. Lesson 4: Chapter Wrap Up and Review.
Lesson 5: JavaScript's onMouseOver Event Handler. Lesson 6: More Event Handlers. Lesson 7: onUnload and onMouseOut, the After-Effect Commands. Lesson 8: HTML 4.0, the SPAN Flag, and Some New Event Handlers. Lesson 9: Let's GO! Lesson 10: The Second End of Chapter Review.
Lesson 11: Prompts and Variables. Lesson 12: Dates and Times. Lesson 13: Hierarchy of Objects. Lesson 14: Creating a Function. Lesson 15: An Introduction to Arrays. Lesson 16: The Third End of Chapter Review—A BODY Flag Script.
Lesson 17: An Image Flip Using onMouseOver and Pre-Loading Images. Lesson 18: An Image Flip with a Function. Lesson 19: Opening New Windows. Lesson 20: Opening a Window with a Function. Lesson 21: The Confirm Method, with an Introduction to If and Else. Lesson 22: The Fourth End of Chapter Review-- Some Jumping Jacks.
Lesson 23: What Is Written in the Text Box? Lesson 24: Passing Information to the Function. Lesson 25: Calling Functions with Forms. Lesson 26: Form Fields and the Value Property. Lesson 27: Pull-Down Menu of Links. Lesson 28: A Guestbook with All the Bells and Whistles. Lesson 29: The Fifth End of Chapter Review—Posting Link Descriptions While Users Pass Over.
Lesson 30: Math Operators. Lesson 31: Mathematics and Forms. Lesson 32: Creating Random Numbers with a Date. Lesson 33: Creating Random Numbers Through Mathematics. Lesson 34: Producing Random Statements and Images. Lesson 35: Introduction to for Loops. Lesson 36: Introduction to while Loops. Lesson 37: End of Chapter Review—A Browser Detect Script.
Lesson 38: A Running Clock. Lesson 39: A Fancy Digital Clock. Lesson 40: Image Driven Clock. Lesson 41: Countdown to Date. Lesson 42: Scrolling Text. Lesson 43: End of Chapter Review—Count to an Event.
Lesson 44: Two Different Array Formats. Lesson 45: Combining User Input with Arrays. Lesson 46: Random Quotes. Lesson 47: A Guessing Game Using Arrays. Lesson 48: A Password Script. Lesson 49: End of Chapter Review—A Quiz.
Lesson 50: JavaScript Animation. Lesson 51: Background Color-Changing Script. Lesson 52: A Floating, Moving, New Browser Window. Lesson 53: Form Validation. Lesson 54: Self-Typing Typewriter. Lesson 55: Scrolling Credits.
Literals. Boolean Literals. Comments. Document Object Model. Event Handlers. Literal Integers. Methods. Objects. Operators. Properties. String. Variable.
action Property. alert Method. alinkColor Property. appCodeName Property. appName Property. appVersion Property. array Method. back Method. bgColor Property. big Method. blink Method. bold Method. close Method. confirm Method. Date Object. defaultStatus Property of window. document Object. document Property. eval Method. fgColor Property. fixed Method. fontcolor Method. fontsize Method. for Loop. forward Method. frames Property. function Object. getDate Method. getDay Method. getFullYear Method. getHours Method. getMinutes Method. getMonth Method. getSeconds Method. getTimezoneOffset Method. getYear Method. go Method. history Object. host Property. hostname Property. href Property of location. if / else. indexOf Method. italics Method. lastModified Property. length Property. linkColor Property. location Object. location Property. Math Object. navigator Object. onBlur Event Handler. onChange Event Handler. onClick Event Handler. onDblClick Event Handler. onFocus Event Handler. onKeyDown Event Handler. onKeyUp Event Handler. onLoad Event Handler. onMouseDown Event Handler. onMouseMove Event Handler. onMouseOut Event Handler. onMouseOver Event Handler. onMouseUp Event Handler. onSelect Event Handler. onSubmit Event Handler. onUnload Event Handler. open Method. parent Property of frame and window. pathname Property. port Property. prompt Method. <F102MO>protocol Property. referrer Property. self Property. selectedIndex Property. setDate Method. setHours Method. setMinutes Method. setMonth Method. setSeconds Method. setTime Method. setTimeout Method. setYear Method. small Method. status Property. strike Method. sub Method. substring Method. sup Method. title Property. toLowerCase Method. <F102MO>toUpperCase Method. userAgent Property. <F102MO>value Property. <F102MO>var Variable. vlinkColor Property. while Loop. window Object. write Method. writeln Method.
Alert Scripts. Buttons, Links, and Email Scripts. The Three C's: Clocks, Calendars, and Calculator Scripts. Color Scripts. Game Scripts. HTML and Developer Scripts. Image Scripts. Scrolling Scripts. Text-Based Scripts. Miscellaneous Scripts.