I am using NWF$("#s4-ribbonrow").hide() to hide the ribbon, the browser is showing a white area at the bottom. Any idea how to hide it.
Note: the height of the form should be more than the screen
Solved! Go to Solution.
I guess this is due to the fact, that the actual heigth of the form is initially calculated during the loading of the form. If you later on remove/ elements from the DOM the size of the form is not re-calculated.
I moved NWF$("#s4-ribbonrow").hide(); to NWF$(document).ready(function() function
Before it was in NWF.FormFiller.Events.RegisterAfterReady(function()
It is fine now,