[whatwg] OBJECT as a link target?

Hallvord R M Steen wrote:
> often a page needs to interact with a plugin and tell it to load
> another file. Today this is of course done with JavaScript, which is
> difficult because most plugins have different JS interfaces, and there
> are also differences between the plugins' ActiveX based interfaces in
> IE and the NPAPI plugin ones.
> 
> Hence I thought it would be a great simplification if we could do the following:
> 
> <object type="application/x-shockwave-flash" id="myMedia"
> data="init.swf" ></object>
> 
> <a href="animation1.swf" target="myMedia"> load movie 1 </a>
> 
> What do you think of this idea?

Mozilla supports this for the XHTML namespace in documents with an XML 
MIME type. (Might only be supported in a recent build and I'm not sure 
if it also works with Flash, but I guess it does.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Wednesday, 15 June 2005 12:29:58 UTC