[whatwg] OBJECT as a link target?

S. Mike Dierken mdierken at hotmail.com
Mon Jun 13 19:45:07 PDT 2005


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



More information about the whatwg mailing list