[Dojo-interest] layout parsing too slow?
Tom Elliott
mrtom at cantab.net
Tue Jun 22 12:34:12 EDT 2010
Hi Guido.
See http://www.sitepen.com/blog/2008/10/06/implementing-a-web-application-preloading-overlay/
for one method of getting around this.
Tom
On 22 June 2010 16:18, guido buecker <vanillegrobi at googlemail.com> wrote:
> HI all, maybe just another beginner question:
> i have a simple html page with just one button declared
> e.g.
> <button dojoType="dijit.form.Button" id="dialog1button">Do
> Nothing!</button>
> if the page loads i first see the standard html button and after a short
> delay the button "transforms" into the dojo button.
> The "problem" becomes really ugly with more complex pages where i see the
> whole page moving from the messy html code into the dojo layout.
> I can verify the behavior with IE8, Chrome and FF. So the questions are:
> a) am i the only one experiencing the behavior
> b) and, if not, is there a way to prevent it?
> here is my dojo include (if it's of any help):
> <script type="text/javascript"
> src="http://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js"
> djConfig="parseOnLoad: true, isDebug: false"></script>
> Thanks, Guido
>
>
> _______________________________________________
> 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
>
>
--
www.twistyfish.co.uk
More information about the Dojo-interest
mailing list