This is a migrated thread and some comments may be shown as answers.

html displayed before kendo mobile is initilazed

1 Answer 86 Views
Application
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 26 Jun 2012, 03:56 PM
The HTML within my initial view is displayed momentarily without Kendo styling before kendo is initialized.  Is there a way to stop this from happening?

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 29 Jun 2012, 10:23 AM
Hi Martin,

To prevent the so called FOUC (Flash Of Unstyled Content) you can hide the content initially (but not with display: none) and then show it when everything loads/inits (like in a data-init event). Check this thread for more information about how you can do it.

Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Application
Asked by
Martin
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or