Click to See Complete Forum and Search --> : text on every page


chris9902
08-15-2003, 07:12 AM
i am making quite a big site and on the right i want to add a "latest news" box so i can display 3 headlines.
i also want that on everypage but if i just add it as text i will have to edit EVERY page all the time and that is not possible.

is there a way to load any file to that spot so i change the external file and all the pages change.

without using an Iframe.

thanks to anyone that helps:)

Charles
08-15-2003, 07:24 AM
What's wrong with an IFRAME? The IFRAME is a perfectly respectable element.

You'll have to find some kind of server side include that works on your server if you don't want to use an IFRAME. JavaScript is too unreliable.

chris9902
08-15-2003, 07:29 AM
Iframes are good but not everyone has them set up

Charles
08-15-2003, 07:32 AM
Originally posted by chris9902
Iframes are good but not everyone has them set up That's why you're supposed to provide a link to the IFRAME's contents.

<iframe src="http://www.w3.org/"><a href="http://www.w3.org/">W3C</a></iframe>

chris9902
08-15-2003, 09:44 AM
ok