The frameLoader jQuery UI widget is used to handle automatically resizing an iFrame based on the content height of the iFrame. If the height of the iFrame is known at different widths, then this could be handled purely through CSS and media queries. frameLoader is meant to handle those scenarios where the height of the iFrame content may not be known.