HOUR 15:Unobtrusive Scripting

What You’ll Learn in This Hour:

• Best practices for creating unobtrusive scripts

• Separating content, presentation, and behavior

• Following web standards to create cross-browser scripts

• Reading and displaying browser information

• Using feature sensing to avoid errors

• Supporting non-JavaScript browsers

You have now learned enough JavaScript to create some complex effects—and potentially to create some complex problems. In Part IV, you will learn about some of JavaScript’s more advanced features, and learn how to avoid problems as you progress to longer and more complicated scripts.

In this hour, you’ll learn some guidelines for creating scripts and pages that are easy to maintain, easy to ...

Get Sams Teach Yourself JavaScript in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.