Hi, if you have a basic html page? Then you make a table on it.... i want 1 section to be part of a different html page, so i can easily update this section by just changing that external page.
How?
Hi, if you have a basic html page? Then you make a table on it.... i want 1 section to be part of a different html page, so i can easily update this section by just changing that external page.
How?
Use FRAMES. Each frame in the page points to another page, which is displayed accordingly. That way, you can have a frame that you update (just newsframe.html) instead of your index.html
Look for tutorials on this.
Do not use frames
Framesets structures have been used for long. They provided a convenient way to spare bandwidth in the early times of the Internet. They were also practical for dynamic languages as PHP (Learn it, Use it, Love it ;-).
They should not be used any more for they are :
Outdated : CSS provide features to structure a page in the same way. Just set the selector "overflow:scroll" on a positionned <DIV> tag. Five years ago, I would have coded this site with three frames, but it was five years ago.
Nearly deprecated.
As disabled people can't access to a framed structure as a whole, but frame after frame, the W3C, through the WAI stated that frame should be avoided. However, if you really need to use frames, please limitate them to three. Above, a disabled person just can't recall the relationships between frames.
Unreadable by the robots of the search engines. You will have to create a fake, unreadable to humans <NOFRAME> to have your framed pages indexed.
Originally posted by djweiser@6 March 2004 - 07:45
basic html page?
He's obviously learning HTML (not even learning, just fiddling), since frames are somewhat basic in HTML.
He can't go straight up to CSS if he doesn't have the basics. It's like trying to write a program in Java without knowing about its structure or classes.
By the way, post the source next time
He has to know all the pros and cons so he can make the right decision, sorry about the Source:
HERE IT ITS!
Hope it helps!
None of you are answering his question.
In SSI, do this...
...and in PHP, do this...Code:<!--#include virtual="table_to_include.html"-->
That's all there is to it!Code:<?php include('table_to_include.html'); ?>
Bookmarks