View Full Version : Child Mirror of Master Page - Inheritance Issue?

10-27-2006, 10:03 PM
I have a banner and a drop down menu that I want on all of my html pages. My problem is that when I need to make updates (pretty regularly), I have to update each HTML page with the new code which I know is not an efficient way to implement updates.

What I want to do is to have the HTML code within the "mirrors" take code from one "master" page. Essentially I want to update one page which will then in turn update each of the other pages.

I think I need to write a public method and then call it within the mirrors however I do not know how to do this.

Basically how do I tell a page to grab the code from another page and use it as its own???


10-28-2006, 03:47 AM
Assuming that your host supports PHP, you would use PHP includes.

10-28-2006, 10:56 PM
Unfortunately I am building the page within an application (livelink) that only runs HTML.

10-28-2006, 11:54 PM
HTML is only a markup language. You would need to use includes of some sort, which require scripting. Maybe javascript is an option?

10-29-2006, 06:55 PM
Well, then I think that the obvious answer is to use frames or iframes.