Like Us
Plus One
Follow Us
Search
 Author Tahir Naveed  Views 796 View Original Article

Scenario:I had a small requirement to hide left and top navigation from a SharePoint 2007 Publishing Site on just one page (not the whole site).Solution:Two line javascrpit :o) in a hidden Content Editor Web Part, after identifying the IDs of the HTML elements which render the navigation.<script type="text/javascript">document.getElementById('onetIdTopNavBarContainer').style.display = 'none';document.getElementById('LeftNavigationAreaCell').style.display = 'none';</script>
View Original Article

Recent Articles from SharePoint Blue

Date Articles Visits
2017-Jun-12 Microsoft Flow - HTTP REST Call 948     
2017-May-25 SharePoint Online Page Load Time with JavaScript 643     
2016-Nov-02 Microsoft Graph vs Office Graph 713     
2016-Oct-26 Office365 Subsite Logo Redirection 767     
2016-Sep-14 PowerShell Script Analyzer 823     
2016-Jun-12 SharePoint DSC 922     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1053     
2016-Mar-03 SharePoint - Export/Import Subsite 933     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 969     
2015-Dec-04 SharePoint - Responsive Design (Framework) 1259