Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does "Allow the child page to pop out of the parent page." mean? #28

Open
chris13524 opened this issue Apr 7, 2020 · 1 comment

Comments

@chris13524
Copy link

I'm not seeing any documentation about this. Does "pop out" mean I can display a modal or tooltip on the parent page from inside the iframe?

@danielmilner
Copy link

It looks like it is probably referring to the ability to open the iframe in its own window.

// Create a way to open the iframe in a separate window.
window.seamlessOpenFallback = function(src, width, height, event) {
if (event.preventDefault) {
event.preventDefault();
event.stopPropagation();
}
else {
event.returnValue = false;
}
window.open(src, '', [
'width=' + width,
'height=' + height,
'menubar=no',
'titlebar=no',
'toolbar=no',
'status=no',
'scrollbars=yes',
'chrome=yes'
].join(','));
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants