AnsweredAssumed Answered

Determine layout in javascript

Question asked by miketrourad on Oct 27, 2015
Latest reply on Oct 28, 2015 by pfudala

I am using Sharepoint 2013 to design my forms. We have layouts for iPad and mobile devices in additional to the standard layout. In the iPad layout I would like to call the SetFullScreenMode() function to hide the left hand navigation.

 

If I put this in the Javascript portion of the form it hides it for all layouts. I only want it to hide for the iPad layout.

 

Is there a way using Javascript to determine which layout the form is using?

 

Mike Trouard

Outcomes