PDA

View Full Version : Nested Webpages


Taps
10-30-2003, 07:54 AM
Hello everyone.

I am creating a web site for a university,
and one of the content on the web site will be
NEWS, and it will change few times a month,
I will have to create total of 50 pages withing this web site,

I don't want to open all 50 pages to update this NEWS information.

I think there is a way to add one more page withing
a web page, (nested). without using frames. I have see this
tutorial how to do this, it was little while ago, but can't fine it now.

Does anyone know how to do this.

I rater have an external .js or .htm files, so once I change this
it will take effect on all the pages.

Hope someone can help,

Thanks you very much
Taps

Corey Bryant
11-01-2003, 08:37 AM
Hi Taps & welcome to the forum.

You can use includes. Check with the hosting company to make sure they support them. Most do though. If you are on UNIX - you will need to use the extension SHTML. If it is Windows, you can use ASP or SHTML. The pages that you include can be named HTML, they do not have to be SHTML.

For some great tutorials:
http://www.smartwebby.com/web_site_design/server_side_includes.asp
http://www.bignosebird.com/ssi.shtml

GDS
11-02-2003, 04:25 AM
Taps wrote:
I think there is a way to add one more page within
a web page, (nested). without using frames.


What about iframes?

GDS

Editedmind
11-08-2003, 05:17 PM
iframes are not the ideal sollution for a number of reasons. Firstly they don't play very nicely with browsers such as Netscape Navigator. Also, you would have to configure the frames in such a way that they don't get in your way. Imagine if you have a top down, long style site, it would be no good to have an iframe there. But I agree that SSI is a good option and I use it myself for several of my sites. It's like adding pieces of code anywhere into a file. This can be really handy if you want to have many pages that all use the same menu, instead of creating the menu for each page you would just load the menu code into each page at the right place.