// Use Ajax to put example boxes or code examples into a page // Written by Jan Labanowski (jkl at ccl net) // Last modified on Dec 3, 2006 // // Anyone can use it, give me credit (or not), and send "thank yous", // but the script comes with no warranty, and if it hurts you // in any way, you agree not to sue me. Poniatno? // I will be very thankful for corrections and comments and I will // implement them and give you credit (I mean, as an acknowledgment // in this file, not money or something...). // // This is a short utility that I use to write documentation or // instructions. The idea is that in the HTML file the examples of // code or scripts have to be given for download as links and also shown // in the text. Since I am lazy, I prefer to have them only in one place. // It also makes the document maintenance easier when revisions are made. // I only need to modify text files that have the examples or code, // and do not have to edit the main document. // // How it works... In the main document, I put "place holders" for files // in the form of