Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Summary

This was undoubtedly the most challenging hour in the book. Don't be surprised or discouraged if you need to read through it more than once and experiment with the example page to begin successfully adapting the Dynamic HTML code to your own purposes.

If you have any experience with computer programming, you probably gleaned enough from this hour and the previous one to start writing your own JavaScript enhancements to your pages. Even if you have never written a line of computer-language code before in your life, you can still copy the code in the book and use it on your own pages.

In this hour, you've seen how to combine HTML, style sheets, and JavaScript to animate independent layers of text and graphics. You learned how to initiate an animation when a page first loads, or in response to a mouse click on any region of the page.

Of course, all this is only the tip of the Dynamic HTML iceberg. Current scripting languages allow you to modify any of the content or formatting of your pages on-the-fly, in response to a wide variety of events. Future versions of JavaScript are likely to make it much easier to do so in a way that is fully compatible with all major Web browsers. The promising future of Dynamic HTML is discussed in Hour 24, "Planning for the Future of HTML."

Share ThisShare This

Informit Network