Sorry to reply to myself, but I was thinking that if it is possible to
detect when an object is added to the dom tree, then I could just
replace the object before it gets a chance to load, so I guess I
wouldn't need to disable it. So now I guess the question is if it is
possible to detect when an object is added...
Kevin N.
Kevin Newman 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