LoGanathan

About Me
I am LoGanathan. I am a Software professional. I write here on the technologies that I like, learn and use.

Saturday, 18 August 2012

Issue with SharePoint 2010 and Google Chrome where the scrolling and ribbon do not work sometimes.


My master page has the following

<body scroll="no" onload="if (typeof(_spBodyOnLoadWrapper) != 'undefined') _spBodyOnLoadWrapper();" class="v4master">
Since I am using jQuery anyway, I pulled the code from the body onload and instead used a jQuery document ready method to call this: 

<script type="text/javascript">
$(document).ready(function(){
if (typeof(_spBodyOnLoadWrapper) != 'undefined')
{
_spBodyOnLoadWrapper();
}
});
</script>


(or)

 just simply past on bottom of the Master page

 <script type="text/javascript">
_spBodyOnLoadWrapper();
</script>

Anyway - this seems to have solved my issue. Please try and let me know if this works for you as well.
Categories:

0 comments:

Post a Comment