February 01, 2005
In this special double issue, Peter-Paul Koch shows how to separate behavior from structure and presentation via JavaScript “hooks,” and J. David Eisenberg explains how to make those hook-laden pages validate.
Validating a Custom DTD
by J. David Eisenberg
In his article in this issue, Peter-Paul Koch proposes adding custom attributes to form elements to allow triggers for specialized behaviors. The W3C validator won’t validate a document with these attributes, as they aren’t part of the XHTML specification. Not to worry! This article will show you how to create a custom DTD that will add those custom attributes, and will also show you how to validate documents that use those new attributes.
JavaScript Triggers
by Peter-Paul Koch
Now that you’ve separated your website’s (XHTML) structure from its (CSS) presentation, wouldn’t it be great to similarly abstract the behavioral (JavaScript) layer from the others? ALA prodigal Peter-Paul Koch shows how to use JavaScript Triggers to do just that.
Found in translation
ALA’s translation policy has changed. If you wish to translate some of our articles into languages other than English, you can now do so with less hassle and in fewer steps. Just be sure to read the updated guidelines first.
“For people who make websites”
A List Apart Magazine explores the design, development, and meaning of web content, with a special focus on techniques and benefits of designing with web standards. Explore our articles or find out more about us.



