blackberry / WebWorks

BlackBerry WebWorks for Smartphones is a platform for building deeply integrated web applications for BlackBerry smartphones
http://developer.blackberry.com/html5
268 stars 51 forks source link

Creating an iframe in a WebWorks App, will cause the focus to be centered in the iframe causing no other actions within the webworks app to work #97

Open jengee opened 12 years ago

jengee commented 12 years ago

Creating an iframe in a WebWorks App, will cause the focus to be centered in the iframe causing no other actions within the webworks app to work. So when the user attempts to click on any other part of the app, the app will not respond at all. This is especially prevalent when implementing an advertising service.

https://bdsc.webapps.blackberry.com/html5/apis/blackberry.advertising.Banner.html

Creating an iframe is an actual step outlined for creating a advertising service within your WebWorks app:

http://docs.blackberry.com/en/developers/deliverables/34109/WebWorks_security_implementation_1731665_11.jsp

Users can download the ext from this location:

http://docs.blackberry.com/en/developers/deliverables/39352/Displaying_an_ad_in_BB_WW_application_QSG_1890052_11.jsp

This has been tested on WebWorks SDK 2.1.1.38 and the same application allows other buttons and WebWorks APIs to function normally. Testing the same WebWorks application on WebWorks SDK 2.2+ and no buttons/links or WebWorks APIs will function.