Skip to content

Instantly share code, notes, and snippets.

@alirobe
Created October 14, 2011 00:51
Show Gist options
  • Save alirobe/1285959 to your computer and use it in GitHub Desktop.
Save alirobe/1285959 to your computer and use it in GitHub Desktop.
Full SP2010 Breadcrumb (for master page)
<!--
Preview - http://i.snag.gy/Dd4S4.jpg
-->
<div id="new-breadcrumb" class="s4-notdlg">
<div class="s4-titletext">
<h1 name="onetidProjectPropertyTitle">
<asp:SiteMapPath runat="server" SiteMapProvider="SPContentMapProvider">
<PathSeparatorTemplate>
<span class="s4-nothome s4-bcsep s4-titlesep">
<SharePoint:ClusteredDirectionalSeparatorArrow runat="server"/>
</span>
</PathSeparatorTemplate>
<CurrentNodeTemplate>
<%-- do not display --%>
</CurrentNodeTemplate>
</asp:SiteMapPath>
</h1>
<%-- use the SharePoint control to display the current node - this enables list view drop-down functionality --%>
<h2><asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server" />
<asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea" runat="server"></asp:ContentPlaceHolder>
</h2>
<div class="s4-pagedescription" tabindex="0" >
<asp:ContentPlaceHolder id="PlaceHolderPageDescription" runat="server"></asp:ContentPlaceHolder>
</div>
</div>
<span class="s4-help" style="display:none">
<span style="height:17px;width:17px;position:relative;display:inline-block;overflow:hidden;" class="s4-clust">
<a href="#" style="height:17px;width:17px;display:inline-block;" onclick="TopHelpButtonClick('HelpHome');return false" accesskey="<%$Resources:wss,multipages_helplink_accesskey%>" id="TopHelpLink" title="<%$Resources:wss,multipages_helplinkalt_text%>" runat="server">
<img id="Img1" src="/_layouts/images/fgimg.png" alt="<%$Resources:wss,multipages_helplinkalt_text%>" style="left:-0px !important;top:-309px !important;position:absolute;" align="absmiddle" border="0" runat="server" />
</a>
</span>
</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment