Expanded Calendar View

SharePoint 2010 Calendar – Default Expanded View

If you want to calendar to default to an expanded view, you need to add a little Javascript to the Content Editor webpart.  Place the CEWP below the calendar. Use the code below:

<script type=”text/javascript”>

_spBodyOnLoadFunctionNames.push(‘WaitForCalendarToLoad’);
function WaitForCalendarToLoad()
{
SP.UI.ApplicationPages.SummaryItemRenderer.prototype.$2u = function ()
{
ULSvSp: ;
if (!this.$1A_1) this.$1A_1 = 100;
return this.$1A_1
}
}
</script>

 

Advertisements

Tagged: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: