JQuery调整iFrame大小

var titleheight=30;
$(document).ready(function() {
	var ctrl = document.getElementById("iframeid");
	ctrl.height = document.body.clientHeight - titleheight;
	ctrl.width = document.body.clientWidth;
});

Leave a Reply

Your email address will not be published. Required fields are marked *

*