[RESOLVED]Footer in static HTML web site

I support a website that is all static html pages. Every page EXCEPT the index.htm page has just a blank footer on it.  They are requesting me now add to certain information to that footer on all the pages etc.  What is the best way to do this where I can
have one file (footer.html) and basically make a master page and connect it to every page in the static website.  Then if I need to change a phone number or email address, then I can go to that one file and do it there and it will reflect in all 100+ pages
etc.

If you are already using Framesets or Iframes, that would be easier for you to enhance it.

Framesets could be one option:

http://www.htmliseasy.com/frames_tutor/lesson02.html

IFrame is another option though not recommended due to various obvious reasons:
http://stackoverflow.com/questions/5332751/master-page-in-html

I agree with Siva. Another option would be to load the pages into footer.html via ajax. Like below

http://www.programcreek.com/2010/01/use-jquery-ajax-to-load-static-html-page-to-a-div-tag/

So the footer.html will act as the master page and it will load the relevant page to a div accordingly.

Personally, I’d rather stick to the iframe variant rather than using ajax

The iis can make it, you can search google how to create footer website by iis .
hope this help

Leave a Reply