Dynamic Text Replacement

This is a set of test pages for Stewart Rosenberger’s Dynamic Text Replacement (DTR) script as featured in A List Apart.

The problem we aim to fix here is encountered when the script is called by a page served up with the application/xhtml+xml MIME type (that is, in Mozilla and its derivatives, since IE simply returns text/html) — essentially the same issue as with Ryan Petrello’s Scalable Inline Image Replacement technique (fixed for xhtml+xml).

It is assumed that you already have the script running on a page served as text/html. If you came here looking for tips on how to make it run at all, then I suggest you head back to the appropriate ALA discussion page.

Comments/questions? Get in touch!

Commence testing.