Here is what goes in the content editor
<script type="text/ecmascript">
ExecuteOrDelayUntilScriptLoaded(HideWebPartTitle, "sp.js");
function HideWebPartTitle()
{
var x=document.getElementsByTagName("h3");
for(var i=0; i<x.length; i++)
{
alert(x[i].innerText);
if(x[i].innerText == 'Shared Documents')
{
var oTable = x[i].parentElement.parentElement.parentElement;
oTable.style.display = 'none';
}
}
}
</script>
Ads by Google
No comments:
Post a Comment