-
Notifications
You must be signed in to change notification settings - Fork 265
Nest bridge example in an iframe #232
Comments
Not possible as all popups has to be initiated through user interaction to Øyvind Sean Kinsey On Tue, Jul 2, 2013 at 2:38 PM, Zach Stiggelbout
|
Thanks for the response. The popup is being initiated through user interaction. User clicks "openPopup()" button, just like in your bridge example. The only difference is that this button is contained in an iframe that was created by easyXDM, rather than sitting in the normal document. Z On Jul 2, 2013, at 3:03 PM, Øyvind Sean Kinsey [email protected] wrote:
|
Hi,
I would like to use the bridge example, but I'd like to have the "openPopup()" function be called from inside an iframe created by easyXDM.
Currently, my application works fine outside of an iframe, but as soon as I next the whole thing inside one, I get the following error trace:
Uncaught TypeError: undefined is not a function easyXDM.js:1343
pub.onDOMReady easyXDM.js:1343
whenReady easyXDM.js:209
pub.init easyXDM.js:1352
pub.init easyXDM.js:2225
pub.init easyXDM.js:2563
defaults.init easyXDM.js:751
easyXDM.Rpc easyXDM.js:1265
openPopup taggle.js:2226
showLoginPrompt taggle.js:2191
writeReview taggle.js:1045
onclick
The goal is to have a "register" button inside an iframe on a 3rd party site. When the user clicks register, I'd like to open a popup to facilitate the registration flow, and once complete, message the original iframe with the new user data. Is this possible using easyXDM?
https://groups.google.com/forum/#!topic/easyxdm/kU1Rebnsnos
Thanks,
Zach
The text was updated successfully, but these errors were encountered: