|
Posted by Joe (GKF) on 11/13/06 23:56
In article <455766f5$0$31558$88260bb3@news.teranews.com>,
terrytoo@wildblue.net says...
> Terry Liittschwager wrote:
>
<snip>
> >
> > The problem is that whenever I want to add another line, I have to edit
> > every page. I'm sure there must be some way to have those lines in a
> > separate file, referenced by one line unchanging line in each page, so
> > that
> > when I change the navbar, I only have to do it in the one place. For the
> > life of me, though, I haven't found out how to do that.
<snip>
> >
> > Any and all suggestions will be most welcome.
> >
>
> My thanks to all who replied, giving me the various options available.
>
> I must admit that it really surprises me there is no provision in the
> language itself for doing this directly. Every other computing language
> I've ever worked with has the ability to do this with ease without having
> to invoke some peripheral process. Oh, well, such is life.
>
HTML is a *MARKUP* language, not a *programming* language.
As others have said, your options are -
"Include" files (either with SSI, CGI or PHP - google for them, or visit
http://allmyfaqs.net/faq.pl?Include_one_file_in_another for good info).
Preprocessing (of which multi- search and replace is a crude example)
--
Aussies please visit -
Water saving tips: http://graspages.cjb.cc/bigdry/
[Back to original message]
|