...

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



thechad99
10-27-2006, 09: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???

Help!!!

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

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

rmedek
10-28-2006, 10: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?

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum