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
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C

WW API not available in an iFrame?

Odd this...

 

If I've got two pages a.html and b.html and they both have some API code embedded in them somehow they'll both work it loaded as a document

 

If I try displaying one in an iframe of the other there's no API

 

A very simple little test was alert(blackberry.app.version) which works only when not in the iframe

 

I've got a very specific reason for wanting to use an iframe

 

Unless someone has a bright idea I guess I'm gonna have to resort to trying out lots of http://localhost:8472/blackberry stuff




Click the like button if you find my posts useful!