I have around 100 web pages on a site. Most of these pages are the same, except for some HTML.
I'd like to #include the complex, bulk HTML from a file into each page, so that I can easily change the bulk HTML in one place and have it "appear" when the other pages get loaded into a browser.
The bulk HTML has seven <div's> in it, some with tables and text and images, etc.
I cannot use PHP or server-side scripting to php-include etc, because this has to run offline.
I tried using:
<object type="text/html" data="myFile.htm"></object>
but it doesn't place the clean HTML cleanly into the page -- it appears in some kind of scrolling div or something.
I also tried using the DOM to create a text node, but couldn't get the div's in the bulk file to actually appear in the page.