I read this post: http://blog.benfox.info/?p=11 and
Then I found that the javascript code was in a picture… how inconvenient… and then I thought
<script type="text/javascript">
function HideScrollBars()
{
document.getElementById('WebPartWPQ2').style.overflowX = "hidden";
document.getElementById('WebPartWPQ2').style.overflowY = "hidden";
document.getElementById('WebPartWPQ3').style.overflowX = "hidden";
document.getElementById('WebPartWPQ3').style.overflowY = "hidden";
}
_spBodyOnLoadFunctionNames.push("HideScrollBars")</script>
And Now I can proudly send a picture of the site in the SharePoint 2010 view.
--- Update --- I have changed the web part code so we don't need to use this




No comments:
Post a Comment