Re: Creating a default footer on a page
- From: "Advo" <max_mischief@xxxxxxxxxxx>
- Date: 8 Aug 2006 04:20:05 -0700
ssi
Isnt that part of ASP?
I have seen something on that, and think i tried it? although i cant
remember. Do you have something special set up in order for it to work?
Cheers
Brian Cryer wrote:
"dorayme" <doraymeRidThis@xxxxxxxxxxxxxxx> wrote in message
news:doraymeRidThis-62342A.18485708082006@xxxxxxxxxxxxxxxxxxxxxxxxxxx
In article
<1155025927.591371.210390@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Advo" <max_mischief@xxxxxxxxxxx> 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...
I have a similar issue and if you rule out php, asp, ssi, js etc then
dorayme's solution is the only one I could find that worked. I started using
a find and replace tool, but have recently moved on to a html-preprocessor,
but the basic solution remains the same - put it in the html files and be
prepared to do global find and replace when necessary.
--
Brian Cryer
www.cryer.co.uk/brian
.
- Follow-Ups:
- Re: Creating a default footer on a page
- From: Brian Cryer
- Re: Creating a default footer on a page
- From: Advo
- Re: Creating a default footer on a page
- References:
- Creating a default footer on a page
- From: Advo
- Re: Creating a default footer on a page
- From: dorayme
- Re: Creating a default footer on a page
- From: Brian Cryer
- Creating a default footer on a page
- Prev by Date: Re: Semantics & <h1>, <h2>, etc
- Next by Date: Re: Creating a default footer on a page
- Previous by thread: Re: Creating a default footer on a page
- Next by thread: Re: Creating a default footer on a page
- Index(es):
Relevant Pages
|