Skip to content

Instantly share code, notes, and snippets.

View alirobe's full-sized avatar

Ali Robertson alirobe

View GitHub Profile
@alirobe
alirobe / spf-dropdown.js
Last active September 27, 2015 18:18
SharePoint Foundation Drop-down Navigation
/*
spfDropDowns v.1 by @alirobe - gist: 1312059
To use this, just structure your top-menu bar links by using a leading '-- '
to denote submenu items, e.g.
Menu Item
-- Submenu Item
Menu Item
-- Submenu Item
-- Submenu Item
@alirobe
alirobe / sp2010 full breadcrumb.aspx
Created October 14, 2011 00:51
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"/>
@alirobe
alirobe / twoLevelDynamicSharePointMenu.css
Created September 5, 2011 05:17
SharePoint 2010 two-level dynamic submenus (jQuery)
.s4-tn li.dynamic {
position:relative;
}
.s4-tn ul.pa-extradynamic{
position:absolute;
top:0; left:100%;
margin-left:0px;
display:none;
}
.lt-ie9 .s4-tn ul.pa-extradynamic{