[Dojo-interest] Loading dojo from external host

antipolizay at inbox.ru antipolizay at inbox.ru
Tue Jun 16 00:24:34 EDT 2009


Hi,



How I can load dojo scripts from external host?
dojo.require("dojo.fx") write that can't find fx.js



It's ok:
<script type="text/javascript" src="scripts/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug:false"></script>



But this does not:
<script type="text/javascript" src="http://HOST/scripts/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug:false"></script>



Also I try:
<script type="text/javascript" src="http://HOST/scripts/dojo/dojo.js" djConfig="parseOnLoad:true, isDebug:false, baseUrl:'http://HOST/scripts/dojo/'"></script>



Please, help me.



Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20090616/641f9397/attachment.htm 


More information about the Dojo-interest mailing list