Hi all. I'm a fairly basic HTML worker, don't know any other language. This is my site: www.andrewgubb.com. A simple text-and-images site, like a blog I suppose except that I'm having more fun doing it just HTML.
This is a detail I've found when building my site. There are elements of all the pages which are common to each, but which I have to change every so often. Opening every single file and copying and pasting the changes is a massive effort, and as the website grows I'm finding I have to more and more. I'd like to find some way of getting round this. What I'd like is to have the variable pieces of the code in seperate files, and be able to refer to those files on each page, so when I change the "variable" files, the change is reflected on all pages.
I've tried frames and iframes and they both have horrible drawbacks. The aestetic quality of the page is ruined, and there is a lot of messing about with different bits of the code to do this or that, which always ends up doing something undesired. In short, way too clunky.
I'm sure there must be a simpler, neater way of doing this. What about, for instance, a javascript which just said, "insert this file into the code"? I tried that with what little I could muster of javascript but I couldn't pull it off... I think it might be possible though. Or any of the other languages.
There's gotta be a simple solution for this!