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

2019 MAGIC Registration & Events


REGISTRATION

When:  Friday, July 5, 6-10 pm

Where:  DC Eagle, 3701 Benning Road NE, Washington, DC 20019

Just say the MAGIC words "I'm here for MAGIC Registration" at the door for free entry.

The beer bash runs 5pm to closing. Proceeds from this event benefit CAPS.

Send Your Feedback