[Dojo-interest] Loading dojo from external host

antipolizay at inbox.ru antipolizay at inbox.ru
Tue Jun 16 14:41:54 EDT 2009


Thanks for advices!
Peter E Higgins already help me.




On Tuesday 16 June 2009 18:56:13 Peter Svensson wrote:
> Hmm. On a cursory glance, this looks OK. Could you post you HTML as well.
> For example, have you checked that the node is really there with the correct
> id?
> Cheers,
> PS
> 
> On Tue, Jun 16, 2009 at 4:38 PM, <antipolizay at inbox.ru> wrote:
> 
> > I try to using dojo.addOnLoad.
> >
> >
> > Error:
> > Cannot convert undefined or null to Object
> > on string:
> > wipeOut = dojo.fx.wipeOut({node: "animDiv",duration: 1000});
> >
> >
> > <script type="text/javascript">
> > var fadeOut;
> > var fadeIn;
> > var wipeOut;
> > var wipeIn;
> >
> >
> > /**
> > * init
> > */
> > function init()
> > {
> > fadeOut = dojo.fadeOut({node: "animDiv",duration: 1000});
> > fadeIn = dojo.fadeIn({node: "animDiv",duration: 1000});
> > wipeOut = dojo.fx.wipeOut({node: "animDiv",duration: 1000});
> > wipeIn = dojo.fx.wipeIn({node: "animDiv",duration: 1000});
> > }
> >
> >
> > /**
> > * loader
> > */
> > function loader()
> > {
> > dojo.require("dojo.fx");
> > dojo.require("dijit.dijit"); // optimize: load dijit layer
> > dojo.require("dijit.form.Button");
> >
> >
> > dojo.require("dijit.Menu");
> >
> >
> > init();
> > }
> >
> >
> > dojo.addOnLoad(loader);
> > </script>







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


More information about the Dojo-interest mailing list