1.) You can create separate functions for each iframe and apply a wrapper
Example
$('.pop1').magnificPopup({
type: 'iframe',
iframe: {
markup: '<div style="width:500px; height:200px;">'+
'<div class="mfp-iframe-scaler" >'+
'<div class="mfp-close"></div>'+
'<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+
'</div></div>'
}
});
2.) You could use CSS to apply the height (same height applies to all iframes on page)
body#shoppingcartBody .mfp-iframe-scaler iframe.mfp-iframe {height:260px;}
3.) You could wait till I document and package!




Reply With Quote
