I was looking for a way to load the html document into a string that was defined in a container style html file which would replace all the object tags with empty object tags and load the page this way, then after the page is loaded, it would replace the objects with their true content, however, I wasn't able to find a technique to get an external html document to load as a string or just a passive kind of document object. The closest thing I could find was loading the document as an XML file, but this does not work since documents have non compliant syntax. I'm not too familiar with the limitations of Javascript so some of my ideas may seem a bit far fetched...
Another idea I had was to write the document before it was loaded with blank object tags, then rewrite it after it loaded with the original content, however, I don't think this makes very much sense since the actual document may just load after the write() invocation. It may be that I can't even grab the documents objects until they've loaded, or that write() can only be used after the document has loaded. I don't know the facts about either of these conditions. These are all attempts to solve the double loading problem. The idea was to have the user replace their original document with this other document and rename the original document with a special extension the other document would load in as a string. This would make it easier to pacify the patent. M. On 4/21/06, Kevin Newman <[EMAIL PROTECTED]> wrote: > > Well yeah, that's what I would usually do, but that doesn't solve the > specific problem I'm looking to solve here (I'm not concerned with the > merits of this solution, I really just want to see if I can make it work). > > If I could figure out how to detect when a new object tag has been added > to the dom (I have some ideas, but have not tested them), then use some > method call to disable it completely, I'd be satisfied with that. There > is a disabled property, but I don't think that stops it from loading, I > think that just stops the interactivity - is that correct? If so, does > anyone know of a way to completely turn off an embedded object in IE? > > Thanks, > > Kevin N. > > > ryanm wrote: > >> Do you happen to know of any way to either stop a loading activex or > >> to prevent it from loading? > >> > > Yes, don't write it to the page until you are ready for it to load. > > HTML is stateless, it's either there or it isn't. If it's there, it > > will load, if it's not, it won't. Use DHTML to add the tag to the page > > when you are ready for it to start loading. > > > > ryanm > > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

