- From: Anne van Kesteren <annevk@opera.com>
- Date: Thu, 13 Mar 2008 19:22:41 +0100
- To: "Jeff Schiller" <codedread@gmail.com>, www-dom@w3.org, "Web API WG (public)" <public-webapi@w3.org>
On Thu, 13 Mar 2008 19:03:27 +0100, Jeff Schiller <codedread@gmail.com> wrote: > <html> > <object data="http://some.other.domain/example.svg" ><param > name="foo" value="bar"/></object> > </html> > >> From within foo.svg, shouldn't I be able to get access to the > parameters sent to the object? This fails when the SVG and HTML are > in different domains (in my case, I have the HTML on a sub-domain and > the SVG at my root domain). If you have example.org and foo.example.org setting document.domain to example.org on both documents should allow communication if I remember correctly. In HTML5 there's a cross-document messaging API that allows more generic communication accross several domains. All browsers are implementing that now. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Thursday, 13 March 2008 18:22:56 UTC