There is a chunk of html links that I use in several pages. Do I need
to manually copy them to each of the other pages each time I add a
link or is there a way to have them saved in a file and dynamically
included in other pages?
Re: Is there and include or copy facility in html?
am 08.08.2005 11:08:46 von never.call.me
Cogito wrote:
> There is a chunk of html links that I use in several pages. Do I need
> to manually copy them to each of the other pages each time I add a
> link or is there a way to have them saved in a file and dynamically
> included in other pages?
Read up on server-side includes (if your server lets you use them),
external javascripts (if it doesn't), inline frames, and whatever I've
forgotton that everyone else will remind me of ....
rEo
Re: Is there and include or copy facility in html?
am 08.08.2005 12:27:36 von kimandre
Cogito wrote:
> There is a chunk of html links that I use in several pages. Do I need
> to manually copy them to each of the other pages each time I add a
> link or is there a way to have them saved in a file and dynamically
> included in other pages?
In pure HTML code, no. The use of frames (a frameset or the iframe
element), client-side scripting (such as JavaScript) and/or inclusion
with
Re: Is there and include or copy facility in html?
am 08.08.2005 13:00:33 von Safalra
roland.E.oderant wrote:
> Cogito wrote:
> > There is a chunk of html links that I use in several pages. Do I need
> > to manually copy them to each of the other pages each time I add a
> > link or is there a way to have them saved in a file and dynamically
> > included in other pages?
> Read up on server-side includes (if your server lets you use them),
> external javascripts (if it doesn't), [snip]
Please avoid Javascript if the links are at all important (for example,
navigation), as a small but significant number of visitors won't be
able to see them. More generally, Javascript shouldn't be used for
important features, unless a non-Javascript version is also made
available.
There's another thread active on this subject at the moment - 'Possible
to Insert One HTML Doc Into Another?'. Also the thread 'IFrame'
mentions some issues with iframes as opposed to includes.