Like Us
Plus One
Follow Us
 Author Tahir Naveed  Views 1355 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 1728     
2017-May-25 SharePoint Online Page Load Time with JavaScript 1336     
2016-Nov-02 Microsoft Graph vs Office Graph 1473     
2016-Oct-26 Office365 Subsite Logo Redirection 1653     
2016-Sep-14 PowerShell Script Analyzer 1557     
2016-Jun-12 SharePoint DSC 1684     
2016-Mar-10 SharePoint Online - JavaScript Injection with PowerShell 1851     
2016-Mar-03 SharePoint - Export/Import Subsite 1704     
2016-Feb-10 SharePoint - PowerApps (Mobile Apps) 1694     
2015-Dec-04 SharePoint - Responsive Design (Framework) 2028