Visit our help forum to get the answers you need. Dynamically writing out html Dynamically writing out html using JavaScript is very important-and powerful. With it, html turn dynamic. Instead of hard-coding lines of html onto your webpage, we can use JavaScript to intelligently write it out, changing the appearance of a html document dynamically.
Lets have a look at an example that involves writing out the body tag dynamically.
In essence, it is a background image of a document that does not tile itself beyond the first screen, and stays static when the rest of the document scrolls up and down. Using watermarked backgrounds, you can have one big image that sits behind the background, and will not repeat itself to fit the entire document, creating a very unique and often beautiful look. However, many people are reluctant to use watermark backgrounds, since when Netscape users drops by, they will see one large image that is eager to reproduce itself-very ugly and unprofessional. By using JavaScript, however, we can easily control that, by dynamically using different backgrounds, depending on the browser type. Works with Internet Explorer.