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

[whatwg] OBJECT as a link target?

From: S. Mike Dierken <mdierken@hotmail.com>
Date: Mon, 13 Jun 2005 19:45:07 -0700
Message-ID: <BAY101-DAV1747B50EEB3FBFF5BECEFAD8F30@phx.gbl>
> Hence I thought it would be a great simplification if we could do the
> <object type="application/x-shockwave-flash"
> id="myMedia" data="init.swf" ></object>
 > <a href="animation1.swf" target="myMedia"> load movie 1 </a>

You likely would want target="#myMedia" instead.
Also, wouldn't javascript be able to acquire the <object> object then call
myMedia.data = "animation1.swf" to change that object? This assumes setting
the 'data' attribute causes the object to be notified & it would then
re-load. Or maybe it's getting the object implementors to code this up that
is the problem?
Received on Monday, 13 June 2005 19:45:07 UTC

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