FreeHostia Forums

A javascript that will insert a file on a page?
Page 1 of 1

Author:  miccor21 [ Sun Jul 08, 2007 4:39 pm ]
Post subject:  A javascript that will insert a file on a page?

I'm trying to find a javascript that will take in the text from an html file, and print it on a page. I use program that generates RSS feeds and at the same time creates a HTML file corresponding to it. Right now, I use the <object> tag to insert the page, but this causes problems with the height of the div and the object itself, and I would rather have the actual code paste where the div is so I can use auto-height.

Anyone know what I can do?

Author:  EasyTec [ Wed Jul 18, 2007 5:26 pm ]
Post subject: 

I didn't know static HTML files could rewrite publicly. Try PHP.

Author: [ Wed Jan 30, 2008 4:36 pm ]
Post subject: 

If your talking about like including the whole html page into your page(s) then your looking for SSI or PHP includes.

Here's some examples:

<!--#include virtual="PATH"-->


Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group