Wednesday, December 19, 2012

SharePoint2010: Modify BreadCrumb links on a page

Scenario: How to modify/change breadcrumb navigation links on a specific page

Solution: In a Content editor webpart add below code
<script type=text/javascript>
document.getElementById('PlaceHolderTitleBreadCrumb').innerHTML =
"<a href='/pages/default.aspx'>HomePage</a> > 
<a href='/Departments'>Departments</a> >    
<a href='/Departments/IT'>IT</a> > IT News";
</script>
 
    

No comments:

Post a Comment