pagerjs icon indicating copy to clipboard operation
pagerjs copied to clipboard

Flashing of non-rendered PagerJS page instances?

Open kokujin opened this issue 12 years ago • 3 comments

I have a Page instance that looks like this:

... lots of markup

Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks

kokujin avatar Mar 10 '13 13:03 kokujin

Im using

.page {display: none;}

Out of town at the moment.

Sent from my iPhone

On Mar 10, 2013, at 14:24, kokujin [email protected] wrote:

I have a Page instance that looks like this:

... lots of markup

Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks

— Reply to this email directly or view it on GitHub.

finnsson avatar Mar 10 '13 18:03 finnsson

Thanks for replying even though you ae out of town :)

I am using .page {display: none;} too. The templates/Pages still "flash" and show all the pages briefly before hiding them

I just noticed that my example did not show, I have made a quick pastebin of it here : http://pastebin.com/SEzd6TP0

Could it be that PagerJS has problems with Knockjout virtual tags? I did not have this problem with the simple examples and tests.

On Sun, Mar 10, 2013 at 7:25 PM, Finnsson [email protected] wrote:

Im using

.page {display: none;}

Out of town at the moment.

Sent from my iPhone

On Mar 10, 2013, at 14:24, kokujin [email protected] wrote:

I have a Page instance that looks like this:

... lots of markup

Anytime one first visits the site, one sees a flash of all the templates before they get hidden. PagerJS is evaluation the data-bind commands and hiding the page after this is done. What is the preferred way to take care of this problem? Thanks

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/finnsson/pagerjs/issues/105#issuecomment-14686176 .

kokujin avatar Mar 10 '13 19:03 kokujin

This happens on the demo site too by the way, here : http://pagerjs.com/demo/

kokujin avatar Mar 12 '13 07:03 kokujin