var url = "http://192.168.1.196/kkyul/
appcan.frame.open("content", url, 0, parseInt(titHeight)+parseInt(content));
我想把这个url页面放大,不在URL本页面操作,有什么方法可以实现用js 或jquery 都可以.汗可以再详细点吗,
function reinitIframe(){ var iframe = document.getElementByIdx_x("frame_content"); try{ var bHeight = iframe.contentWindow.document.body.scrollHeight; var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; var height = Math.max(bHeight, dHeight); iframe.height = height; }catch (ex){} } window.setInterval("reinitIframe()", 200);
可以参考下这个:http://www.cnblogs.com/rainman/archive/2011/02/16/1956431.html
网页的缩放使用 transform: scale(2); 吧