I am thinking about converting an old website from using PHP to iframes. http://www.rymich.com/girraween/
As it stands, the header, nav bar, content and footer are all put together by PHP. What I am thinking of doing is making the header, nav bar and footer all one html document with an iframe for the content area (separate html files from the same domain) to be inserted. That is, no longer use PHP.
What I am wanting to know is:
- when making the content files, do I need to include all the usual html coding such as <!doctype html>, <html>, <head> with the metas, and <body>?
- if I do this, will I need to use javascript to make the titles change for each content area change?
- I am assuming from what I've seen in the forum that I will also need to use javascript to work out the height of the incoming file to adjust the height of the iframe.
- are there any other problems people doing the same sort of thing have come across that I would need to know about?
I guess you could call me an intermediate html user.