JQuery调整iFrame大小 Posted on 2012/03/20 by neohope — No Comments ↓ var titleheight=30; $(document).ready(function() { var ctrl = document.getElementById("iframeid"); ctrl.height = document.body.clientHeight - titleheight; ctrl.width = document.body.clientWidth; }); Share the post "JQuery调整iFrame大小" FacebookGoogle+LinkedInTwitterWeiboE-mail