Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

Have you fix this issue .

 

Please let me know how in case.

Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

Hi tnel,

 

Can you please give some idea if we don't want to hide the previous html page until the next page is not loaded.

 

Means we don't want the white screen between the page transactions.

 

Thanks

Vipin Tomer

Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: White screen flashes between page loads

Hi Vipin,

 

Use bbUI.js to manage your screens. The loading is done via ajax and it also supports screen transition effects.

 

Nuno
Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

Thanks for your quick reply

 

..

Can you please give some steps to use this bbUi.js from where i get this js and how to use.

 

Please help

 

And one more thing i am opening childbrowser in my app can i open it in slideup transition style from bottom to

top if yes than how?

 

Thanks

Vipin Tomer

Developer
Posts: 314
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha
My Carrier: TMN

Re: White screen flashes between page loads

You can learn about it and download it from here: https://github.com/blackberry/bbui.js

 

Regarding the browser, you mean you are opening a browser window via invoke? If yes, I don't think its possible to make such a transition, since it's a completely different app.

Nuno
Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

Nuno,

 

I am opening a childbrowser using plugins now is it possible in case.

 

And for bbUI.js

It quite big task to change the html page calling code because our app is working and its a big app so we need

to make a big change to call every html page using bbUI.js

 

Please suggest if we can do some changes in our js or phonegap to remove the white screen which comes in

between transition between  two html pages

..Thanks

 

Vipin Tomer

Your help will be really appreceable.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: White screen flashes between page loads

If you are changing the URL of the page you will always see a white flash just like any browser.  It is tearing down the old page and loading in the new page.

 

The only way that applications/websites get around this is to load screens dynamically via AJAX ad document fragments. That way the URL of the page never change and the new document fragment can be animated when it is loaded.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

 

And if i use bbUi.js

for page navigation for html's than should this white screen  not come?

 

I have diffrent static html pages in which i am rendering the live data.

 

Thanks

Vipin

Highlighted
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: White screen flashes between page loads

bbUI is one toolkit that takes this approach. You can also use jQuery mobile and Sencha in the same manner to remove the need to change URLs of the main document.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 41
Registered: ‎05-03-2012
My Device: 9800 torch
My Carrier: -

Re: White screen flashes between page loads

I am using sencha touch in the app

How can i fix this white screen issue by sencha