[Dojo-interest] dijit.Dialog href "AKA where did I go wrong"
Kenton Smeltzer
ksmeltzer at gmail.com
Wed Jun 9 15:37:27 EDT 2010
Peter,
Thanks I will give it a try.
On Jun 9, 2010, at 3:33 PM, Peter Higgins wrote:
> The Dialog is a contentpane, and only handles local resources. You can
> put an <iframe> _in_ a dialog, and set that to twitter.com, but there is
> no x-domain support built in by default.
>
> ~phigins
>
> Kenton Smeltzer wrote:
>> var dialog = new dijit.Dialog({href :
>> "http://www.twitter.com"});
>> dojo.style(dialog.domNode, "width", "792px");
>> dojo.style(dialog.domNode, "height", "363px");
>> dojo.body().appendChild(dialog.domNode);
>> dialog.show();
>>
>> guys, given the above code, why would I be getting the following error
>> in firefox?
>>
>> Error: Unable to load http://www.twitter.com status:0
>> getRootNode()dojo.js (line 106)
>> dojo.js()dojo.js (line 52)
>> [Break on this error]
>> Components.classes["@mozilla.org/moz/jssubscript-loader;1"];\r\n
>>
>> am I missing something?
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> FAQ: http://dojotoolkit.org/support/faq
>> Book: http://docs.dojocampus.org
>> Dojo-interest at mail.dojotoolkit.org
>> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
More information about the Dojo-interest
mailing list