Forum Moderators: open

Message Too Old, No Replies

Outside links within a page without using frames?

How to display an external linked page within a page without frames.

         

mindaugas13

7:55 pm on May 3, 2004 (gmt 0)

10+ Year Member



Is there a way to display an external linked page within a page without using frames?

I am taking a website out of frames and some pages point to links that load within a lower frame while keeping our site header up top.

Is there a way to maintain that functionality without having that page be in frames? Not looking for target=_blank but some insight on how this can be done within a page. Thanx.

Bonusbana

10:52 pm on May 3, 2004 (gmt 0)

10+ Year Member



Hi

I would use some simple server side scripting to achieve what you are looking for, like PHP includes. In theory, all you do is make the static section in html, rename it to "*.php" and then include it like

<?php require("url/file.php");?> 

in your pages.

Of course, your host must support php.

Search the web for tutorials or visit [php.net...] to learn more about php.

mindaugas13

12:48 am on May 4, 2004 (gmt 0)

10+ Year Member



I am talking about serving up pages from another domain, not other pages under the same server.

For example displaying the contents of [webmasterworld.com...] on the bottom of a page at www.widgets.com (like you can with frames, but without using frames)

digitalv

1:43 am on May 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What's your server operating system? I can't speak for other OS's, but in Windows NT, 2000, and 2003 this is really easy to do - just call the MSXML object.

You can tell it to retrieve a page and store that page as a string, then you can parse whatever you want out of it and display it inside an existing page.

mindaugas13

3:33 am on May 4, 2004 (gmt 0)

10+ Year Member



We are running Win2000 server. Can you guide me to resources/posts that talk about doing this?