* Responding to reader feedback, the author has thoroughly revamped the book with more step-by-step coverage of JavaScript basics, an exclusive focus on Internet Explorer, and many complete sample scripts * Updated to cover JavaScript 1.5, the latest release of this popular Web scripting language * Using lots of examples, including a sample working Web site, the book shows how to create dynamic and interactive pages, build entire sites, and automate pages
Table of Contents Pt. I Building killer Web pages for fun and profit 7 Ch. 1 Hitting the highlights : JavaScript basics 9 Ch. 2 Writing your very first script 23 Ch. 3 JavaScript language basics 35 Ch. 4 JavaScript-accessible data : getting acquainted with the document object model 73 Pt. II Creating dynamic Web pages 103 Ch. 5 Detecting your users' browser environments 105 Ch. 6 That's how the cookie crumbles 125 Ch. 7 Working with browser windows and frames 143 Pt. III Making your site easy for visitors to navigate and use 155 Ch. 8 Creating interactive images 157 Ch. 9 Creating menus 181 Ch. 10 Creating expandable site maps 191 Ch. 11 Creating pop-up help (tooltips) 201 Pt. IV Interacting with users 213 Ch. 12 Handling forms 215 Ch. 13 Handling user-initiated events 239 Ch. 14 Handling runtime errors 249 Pt. V The parts of tens 253 Ch. 15 Top ten (or so) online JavaScript resources 255 Ch. 16 Ten (or so) most common JavaScript mistakes (and how to avoid them) 261 Ch. 17 Ten (or so) tips for debugging your scripts 273 Pt. VI Appendixes 293 App. A JavaScript reserved words 295 App. B JavaScript color values 297 App. C Document object |