// Find all iframes var $iframes = $( "iframe" ); // Find & save the aspect ratio for all iframes $iframes.each(function () { $( this ).data( "ratio", this.height / this.width ) // Remove the hardcoded width & height attributes .removeAttr( "width" ) .removeAttr( "height" ); }); // Resize the iframes when the window is resized $( window ).resize( function () { $iframes.each( function() { // Get the parent container's width var width = $( this ).parent().width(); $( this ).width( width ) .height( width * $( this ).data( "ratio" ) ); }); // Resize to fix all iframes on page load. }).resize();

Sign Up Log In · Feedback

  • $slide.title

Standings 2016 MAGIC Tournament

Sorry, the standings have not yet been posted.

Send Your Feedback