Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed

Links

XODOX
Impressum

#1: Is there and include or copy facility in html?

Posted on 2005-08-08 10:58:17 by Steve Jorgensen

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?

Report this message

#2: Re: Is there and include or copy facility in html?

Posted on 2005-08-08 11:08:46 by 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

Report this message

#3: Re: Is there and include or copy facility in html?

Posted on 2005-08-08 12:27:36 by 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 <object> can be buggy at best, since old browsers don't support
these methods, and several newer browsers have the ability to disable
the use of plugins and client-side scripting. Also, you may not always
get the results that you want, something which will only annoy your
visitors (and potential customers) further. IMO, this is better done on
the server side.
http://www.allmyfaqs.com/faq.pl?Include_one_file_in_another

Do also follow the recent (and active) thread with the subject line
"Possible to Insert One HTML Doc Into Another?".

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

Report this message

#4: Re: Is there and include or copy facility in html?

Posted on 2005-08-08 13:00:33 by 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.

--
Safalra (Stephen Morley)
http://www.safalra.com/hypertext/

Report this message