On 15 Jun 2006, at 15:11, John Mandia wrote:
> Hi all,
> Is it at all possible to display a page within a page (i.e. not
> using frames
> or iframe).
> i.e. the ability to set the source of a div to an external url.
> Anyone ever tried or achieved anything like this?
Depending on your needs, there are various ways you could do this.
server side language, such as PHP, then there are easier alternatives
to it. You could also use Apaches Server Side Includes to do this.
file and use innerHTML or suchlike to populate your div. With PHP, or
similar, you could just read the file into a buffer and echo/print it
at the appropriate point. With Apache SSI you would just include a
special include tag in your HTML code, and Apache would fetch the
file and insert it whenever the page is requested (and serve it as
one page, the user wouldn't know about the SSI).
I hope that helps put you in the right direction. Feel free to email
me directly if you want some more help with this, and I'll do my
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/