[thelist] Use JavaScript includes to insert PHP into a site?

Andrew Clover and at doxdesk.com
Fri Jan 11 06:54:45 CST 2002

Keith <cache at dowebs.com> wrote:

> I've never seen documentation that IE *should* ignore the enclosed js
> tag, it just does, at least in 5.5.

Actually this is defined and reliable behaviour (HTML4, section 16.5).
The same goes for <object>. Hooray!

> <iframe src="inc.cgi?iframe" width=150 height=150>
> <script language=javascript src="inc.cgi?js"></script>
> </iframe>

Or, if you were lazy and didn't want to make the script output JS-or-HTML-
depending-on-the-query-string, another possibility would be to give
non-iframes browser a plain HTML link. The content wouldn't appear on the
page bug it would still be accessible.

...or, specifically to Netscape 4, <ilayer>. (shudder)

Andrew Clover
mailto:and at doxdesk.com

More information about the thelist mailing list