// 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

MAGIC Registration Opens Spring 2020

Email: magic.softball.dc@gmail.com

Make Sure to Follow Us On Facebook

2020 Mid-Atlantic Gay Invitational Classic

We look forward to seeing you all again this year for MAGIC 2020!

Banner image for MAGIC 2020, C, D, E, Women's Competitive and Recreational Division, $425 entry per team before May 15 and $475 after
<

Send Your Feedback