SharePoint: Hide page title using javascript

Published on

Add a CEWP or SEWP and add the following code: <script language=”javascript” type=”text/javascript”> ExecuteOrDelayUntilScriptLoaded(retrieveListItemsInclude,’sp.js’); function retrieveListItemsInclude() { document.getElementById(“pageTitle”).style.display=’none’; } </script>

SharePoint 2013 O365: Display top navigation on search results page

Published on

  Elio Struyf has created a handy piece of JavaScript that will display the global navigation on your search results page as by default its hidden. <script> var refElm = document.getElementsByClassName(‘ms-searchCenter-refinement’); if (refElm.length > 0) {   // Unhide the title row   document.getElementById(‘s4-titlerow’).setAttribute(‘style’, ‘display:block !important’);   // Set the Site Title   document.getElementById(‘DeltaPlaceHolderPageTitleInTitleArea’).innerHTML = … Continue reading SharePoint 2013 O365: Display top navigation on search results page

Sharepoint Javascript Error: ‘style.display’ is not null or not an object

Published on

If you are receiving the following error when trying to access the ‘edit’ menu of a webpart on a page: ‘style.display’ is not null or not an object It is likely that you have some random/extra code in another webpart on the page, this typically happens if you cut & paste text from another location … Continue reading Sharepoint Javascript Error: ‘style.display’ is not null or not an object

One of the better ways of implementing Jquery in your Sharepoint environment

Published on

1. Open up SharePoint Portal and click on Site Actions -> Site Settings -> All Site Settings option 2. Under “Site Administration“group option, Click on “Content and Structure” link 3. From top menu Click “New” List option to create a list of type “Document Library”. 4. Let’s Configure document library further…. Let’s name it as … Continue reading One of the better ways of implementing Jquery in your Sharepoint environment

Sharepoint and JQuery

Published on

If youre not already using JQuery in your Sharepoint environment Im sure you will be in someway in the future, to get you started heres some useful links: JQuery at EndUserSharepoint 50 JQuery examples 37 more JQuery examples