20. A Taste Of Javascript

Many of the most popular effects created on Web pages these days have little or nothing to do with (X)HTML and everything to do with JavaScript, a scripting language originally developed by Netscape Communications and now supported by all major browsers. There are entire books—and lots of them!— that go into JavaScript in full detail. This is not one of them.

Instead, I hope to whet your appetite with a tiny sampler of very simple scripts. Hopefully, they will give you the beginning of an idea of what you can do with JavaScript. Please note that there are probably much more elegant methods of achieving these effects that make the script more flexible and more powerful. But that would require a level of JavaScript that ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide 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.