CD-385Appendix F . Examples from Parts (Web site construction) III and

CD-385Appendix F . Examples from Parts III and IV Example The example in Listings 18-16 through 18-18 demonstrates several important points about using the document.write() or document.writeln() methods for writing to another frame. First is the fact that you can write any HTML code to a frame, and the browser accepts it as if the source code came from an HTML file somewhere. In the example, I assemble a complete HTML document, including basic HTML tags for completeness. Listing 18-16: Frameset for document.write() Example Writin to the doc Listing 18-17: document.write() Example Document Write Controller