March 3rd, 2013, 11:24 AM
How to make a page on a website follow a layout from another file in HTML?
I am making a website but I am having a problem, later on I want to be able to change the layout without going through every HTML file, such as the layout (Such as the top navigation bar) being held in another file, so if I edit that file it changes all of the pages. Is there a way I can do that?
Also I would prefer if there was no server side scripts as the hosting I am using disallows it.
March 3rd, 2013, 11:54 AM
I suggest finding a new host. There is no way to do that with just HTML and no efficient way to do it without a server side script.
March 3rd, 2013, 02:45 PM
March 25th, 2013, 03:48 AM
There's two really bad workarounds for this:
1. use framesets (deprecated, don't)
Basically, in my_menu.js it says: