My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 342: transparency for iframes support
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Oct 2009


 
Reported by TwoVect...@gmail.com, Sep 28, 2009
As far as I can see, the iframes that nyromodal generates cannot be
customized with the allowtransparency attribute using any one of the
setting options provided.

It may not validate, but using allowtransparency="true" is the only way to
get transparent iframes in IE (as far as I know).

The only way to add the attribute is hard-coding it into the functions that
generate the iframes in the jquery.nyroModal.js file.
Oct 3, 2009
Project Member #1 nyro...@gmail.com
If you want add something to an element which is inside a modal, you could one of the
many callback function to do it.

To do what you need, you'll simply do:
$.nyroModalsettings({
  endFillContent: function(elts, settings) {
    elts.content.find('iframe').attr('allowtransparency', 'true');
  }
});
Status: Fixed

Powered by Google Project Hosting