1.overrides the “s4-notdlg” class items as “display:none”
< script type = " text/javascript " > var _fV4UI = true ; < / script> < style type = " text/css " > .s4 - notdlg { display: none; } < / style>
2.
3.加入script
在final.aspx的Header web part zone加入content editor web part,然后加入脚本
function resizeIframe(newHeight) { document.getElementById('MSOPageViewerWebPart_WebPartWPQ3').height = newHeight; }
那在什么时候调用一个函数呢?
在page load完成之后。
4.
body #s4-workspace{overflow-y:hidden; }