Discussion Locked

Display page within page

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need a fairly simple way to display the contents of a web page inside of another page. Ex. Main page has a decorative box that displays current news. The actual news information is contained within a plain page named easypage.htm so that my content writers can just open easypage.htm and type their news headlines and add links without actually ever touching my main page.

I have found 2 ways to do it; but neither will work in Netscape. One is the inline frame approach; but that won't workin Netscape (for me anyways):

Second attempt was using this object script; but that does not work in Netscape either.

Anybody got any other bright ideas as to what I can use or maybe how to force one of the above to work in Netscape. Not Netscape 6, but the older one.

9 replies

by peyison

What about doing an Include?

At the point where you want to insert your secondary file, put:

On the main page, you could create a table to represent the box, and between

tags, put the include.

This is a server side solution that should not be dependant on the browser used.

Hope this helps.

by peyison

Trying again to post an answer...

What about using an Include? At the point where you want the text to appear, enter:

You could create a table on the main page to represent the box, and put the includestatement between

tags.

Hope this helps.

by rsv

Hi,
Only solution for you problem is using the include statement, for this you need to make you main page as .asp page, so that you can use the include statement to include the easypage.htm.

In the Main page, where you want to display the text of easypage.htm, just insert this line of code

This works in both the browsers.
Hope this is helpful to you.
Good Luck...:)

by lynnmoon

Thanks but I have tried that too. I don't think that my server can use asp pages. When I tried to open the asp page it just tried to download the page and upen it in my webpage editor. It would not just show me a web page.

by rsv

HI,
You have to run the .asp file on the server, i.e. PWS or IIS.
If you open the file from the physical path, then, .asp file will not work.

Hope you know how to view .asp files in the browser.

Good Luck...:)

This discussion is closed to new replies.