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

Women's Division

DC Swag

NJ GEMS

Philadelphia 369 Sharks

DC Sharks

Lady Primetime Elite

DC Krazy Pitches

Durham Divas

Take Two

Knoxville Fuzion

Open D Division

Atlanta Wild D

Austin Octane

Carolina Thunder D

Philadelphia Chasers

DC Avengers

DC Big Blue

DC Boy Butter Ballers

DC Shockers

Envy - LOB

Ft. Lauderdale Silverhawks

Norfolk Gunners

Philadelphia UBar Union

Scruffy City Knoxville

Southern Belles

Norfolk Gunners Extreme

DC Mavericks

Open C Division

DC Guerreros

DC Envy

DC Rockets

District Dawgs

DMV Gridlock

DMV Legends

NYC Eagle

Atlanta ENUFFSAID

Georgia Menace

Mid-Atlantic Thunder

Philadelphia Love

Atlanta Pitch Plzzz

Atlanta Primetime Elite

Rated R

Philadelphia Triple Play

Washington Galaxy

National All-Starz

DMV Sudden Impact

Knoxville Cyclones

Send Your Feedback