Foros‎ > ‎Sharepoint‎ > ‎

Master page with internal scrolling - ribbon and footer

publicado a la‎(s)‎ 20 sept. 2012 13:10 por Ignacio Gonzalez
<script type="text/javascript">
var _fV4UI = true;
</script>


<script type="text/javascript">
function resizes4WP()
{

var baseRibbonHeight = RibbonIsMinimized() ? ($("#footer").height() + $("#s4-titlerow").height()) : ($("#s4-ribbonrow").height());

if ($("#s4-workspace").length && $("#s4-titlerow").length && $("#footer").length)
$("#s4-workspace").css('height', ($("#s4-workspace").height() - baseRibbonHeight ) + 'px');
}
ExecuteOrDelayUntilScriptLoaded(function () { SP.UI.Workspace.add_resized(resizes4WP); }, "init.js");
</script>


<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">


<div id="s4-ribboncont" onclick="sleep(1000); resizes4WP();">



Comments