|
Posted by dorayme on 08/08/06 08:48
In article
<1155025927.591371.210390@i42g2000cwa.googlegroups.com>,
"Advo" <max_mischief@hotmail.com> wrote:
> Hi there. basically what we are trying to do is create a default footer
> page (links.html) which we can then have on every one of our pages,
> meaning we dont have to change loads of pages, but just one page
> (links.html) if things need altering.
>
> Now i will hear you say use php, or asp.. i know I can do this, but the
> client has requested us to not use that, nor use JS, and that his page
> extension must remain as .html.
>
> I tried using an iframe, but this did not work as expected..it showed
> the content of links.html ok, but when the user views the page, all
> they basically see is <iframe src="links.html"></iframe> rather than
> the other stuff in links, so imageing if links.html contained:
>
> <a href="some_page.html">test link</a>
>
> then viewing our current main page would also show that, thus it looks
> like all the links etc within the links.html page, also appear in the
> source of the main page, this is for SEO reasons etc.
>
> Any ideas please?
Yes. Given the restrictions you mention, put the footer on every
page. If you change it, do it auto with a simple Find and Replace
in any decent text editor. And structure you files in such a way
that you can easily upload to the server, keep all the html files
concerned in their own folders without other things like pics -
so you don't need to comb thru to select them out...
--
dorayme
[Back to original message]
|