Modal Dialog Options
function Myfunction() { var clientContext = new SP.ClientContext.get_current(); var options = { url: clientContext.get_url() + "/_layouts/Page1.aspx", showMaximized: true,
I am trying to hide the tape that goes in the modal box. I have css added below on page1.aspx
<style type="text/css"> .s4-notdlg { display:none; }
It hides only part of the Siteβs Action and the username that is logged in. I still have a black thick ribbon image on my page. I want the full tape to be hidden. In addition, scroll bars are displayed on the page, but they do not scroll completely to the bottom of the page.
Someone please help me.
Janet source share