[whatwg] OBJECT as a link target?

> 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>

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