Click to See Complete Forum and Search --> : Content from files in Netscape and IE


clearwa
07-20-2003, 08:44 AM
I have developed a a web site that relies on IE's startDownload() method to add content to various parts of a DHTML page. IE supports this by means of a prorietary tag, <IE:DOWNLOAD>. The startDownload() method loads the content of a URL into the DOWNLOAD area; once this is done than the content of that area can be updated to the site by use of the innerHTML property. Now I want to do the same thing in Navigator. LAYER used to hava a src attribute but is no longer supported. Does anyone have a browser-generic solution to loading content from an arbitrary file into a DIV document section under Navigator??

Thanks in advance for any help ... and help is what I need at the moment!!

Allan

AdamGundry
07-20-2003, 02:02 PM
I think you might be able to use <iframe> instead, as that can contain a document.

Adam

pyro
07-20-2003, 04:40 PM
...or, you could use server side code (such as PHP, etc...) to load it in.

clearwa
08-05-2003, 04:54 AM
I've come up with a way to do this that relies on IFRAMES. For a demo of the solution please refer to www.object-forge.com/ExamplePanel (http://www.object-forge.com/ExamplePanel) . To see the full blown site try Object Forge (http://www.object-forge.com) .

This stuff all works fine under IE 5 and greater and Netscape 7. It is flaky under Netscape 6, however. It appears that 6 does not always flush changed content to the screen and so I loose images (they don't appear or are blank). Does anyone have any insight into this problem?

Thanx for your help,
Al