Which function used to change the #s4-workplace height in SharePoint 2013 ?

In Initial load the SharePoint calculate the size (Width and Height) and  assigned to the #S4-workspace and #ms-designer-ribbon

Resize the window, the above same action is to be perform it again.

Steps :

  1. Using Chrome developer tools, I selected the #s4-workspace div and the selected “Break On…”, “Attributes modifications”:

    sharepoint-2013-thoughts-sticky-footer-sharepoint-resize-eventmethod

  2. Then I resized the browser window and check, the function trigger

    FixRibbonAndWorkspaceDimensions

  3. So now that I know that the name of the function that SharePoint uses to calculate the size of the #s4-workspace div
    FixRibbonAndWorkspaceDimensions();

 

Related Article from: http://crodrigues.com/sharepoint-2013-thoughts-sticky-footer-sharepoint-resize-eventmethod/ 

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s