Any iframe embedded via Pym.js will look for its parent container and automatically resize itself to fit in the container.
Both width and height dimensions are modified, and Pym also fixes cross-domain issues that most browsers have, letting developers communicate and interact with the iframe via their code.
The best place to use Pym.js is with dynamic platforms like CMSs, online stores, blogs, or forums, where the content that users post can be very different from case to case and you need a solid general approach to iframe embeds for the entire site.
Demos are included with the download package.
What is new in this release:
- Added API documentation.
- Refactor public and private APIs to have more obvious names.
- Added support for generic message passing.
- Support specifying pym div's with data attributes.
What is new in version 0.4.3:
- Added API documentation.
- Refactor public and private APIs to have more obvious names.
- Added support for generic message passing.
- Support specifying pym div's with data attributes.
What is new in version 0.4.1:
- Added API documentation.
- Refactor public and private APIs to have more obvious names.
- Added support for generic message passing.
- Support specifying pym div's with data attributes.
Requirements:
- JavaScript enabled on client side
Kommentarer ikke fundet