yet when onready runs, so bind the height change to the iframe load
callback.
var $ifbody = $('#fileTreeIframe').contents().find( 'body' );
$ifbody.bind( 'load', function() {
$('#fileTreeIframe').height( $ifbody.height() );
});
var $ifbody = $('#fileTreeIframe').contents().find( 'body' );
$ifbody.bind( 'load', function() {
$('#fileTreeIframe').height( $ifbody.height() );
});
No comments:
Post a Comment