First, I made sure the modal behavior was loaded:
var newElem = new Element( 'div' ).setText( 'demo' ); SqueezeBox.setContent( 'adopt', newElem );
Now, had I wanted to open an external resource with an iframe handler, I could use the following:
SqueezeBox.setContent( 'iframe', 'http://jeffchannell.com' );
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Jeff Channell is not affiliated with or endorsed by Open Source Matters or the Joomla!® Project.