W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2005

[whatwg] OBJECT as a link target?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 15 Jun 2005 21:29:58 +0200
Message-ID: <42B081B6.8030801@annevankesteren.nl>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC