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

Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel

iframe loading is slow in BB10 application

Hello ,


I am trying to loading an iframe, when network is little bad then it shows a black screen before loading and then shows the actual iframe loaded , how to avoid this situation?

the iframes are loaded perfectly fine on ios and andriod as my application is a cross platform application built with HTML5 and jQuery.

- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

New Developer
Posts: 11
Registered: ‎03-20-2013
My Device: Playbook
My Carrier: Nope

Re: iframe loading is slow in BB10 application

check the css, different browser have different default settings, change the iframe-s background-color to whatever you want, maybe it helps, but if not try webkit specific css settings.
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: iframe loading is slow in BB10 application

Connect remote web inspector on BlackBerry 10 and look in the network panel.  It will show you exactly what the performance issues are with the remote content you are loading.

Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: iframe loading is slow in BB10 application



Start off with a Loading... screen




<div 'id'='loading'>




BEFORE you load switch to loading and let the DOM complete




Display complete - switch to the display div


A swirly thing helps

Click the like button if you find my posts useful!