Open kmob2 opened 7 years ago
I have an iframe that loads content from the same domain. Using the built jquery css, I can do this
$("iframe").contents().find(".site-header").css("height", "100px");
How would I do this with this plugin?
I tried multiple ways, such as: $.stylesheet( 'iframe .site-header' ).css( "height", "100px" );
$.stylesheet( 'iframe .site-header' ).css( "height", "100px" );
Unfortunately they don't seem to work.
I have an iframe that loads content from the same domain. Using the built jquery css, I can do this
$("iframe").contents().find(".site-header").css("height", "100px");
How would I do this with this plugin?
I tried multiple ways, such as:
$.stylesheet( 'iframe .site-header' ).css( "height", "100px" );
Unfortunately they don't seem to work.