Skip to content

Instantly share code, notes, and snippets.

@zackthehuman
Created January 30, 2012 06:59
Show Gist options
  • Save zackthehuman/1702978 to your computer and use it in GitHub Desktop.
Save zackthehuman/1702978 to your computer and use it in GitHub Desktop.
SharePoint 2010 "Personal Actions"-like menu markup
<div class="ms-MenuUIPopupBody ms-MenuUIPopupScreen" style="position:absolute;">
<div class="ms-MenuUIPopupInner" style="overflow-x: visible; overflow-y: visible; ">
<div class="ms-MenuUILarge">
<ul class="ms-MenuUIUL">
<li class="ms-MenuUIULItem">
<div class="ms-MenuUIULItem">
<a class="ms-MenuUIULLink">
<span class="ms-MenuUIIconLarge" style="white-space: nowrap;">
<img class="ms-MenuUIULImg" width="32" height="32" src="/_layouts/images/blank.gif" alt="" title="" />
</span>
<span class="ms-MenuUILabel">
<span style="white-space: normal;">Normal</span>
<br />
<span class="ms-menuitemdescription" style="white-space: normal;">SharePoint 2010 Menu Item (normal state)</span>
</span>
</a>
</div>
</li>
<li class="ms-MenuUIULItem ms-MenuUIDisabled">
<div class="ms-MenuUIULItem">
<a class="ms-MenuUIULLink">
<span class="ms-MenuUIIconLarge" style="white-space: nowrap;">
<img class="ms-MenuUIULImg" width="32" height="32" src="/_layouts/images/settingsicon.gif" alt="" title="" />
</span>
<span class="ms-MenuUILabel">
<span style="white-space: normal;">Disabled</span>
<br />
<span class="ms-menuitemdescription" style="white-space: normal;">SharePoint 2010 Menu Item (disabled state)</span>
</span>
</a>
</div>
</li>
<li class="ms-MenuUIULItemHover">
<div class="ms-MenuUIULItem">
<a class="ms-MenuUIULLink">
<span class="ms-MenuUIIconLarge" style="white-space: nowrap;">
<img class="ms-MenuUIULImg" width="32" height="32" src="/_layouts/images/blank.gif" alt="" title="" />
</span>
<span class="ms-MenuUILabel">
<span style="white-space: normal;">Hover</span>
<br />
<span class="ms-menuitemdescription" style="white-space: normal;">SharePoint 2010 Menu Item (hover state)</span>
</span>
</a>
</div>
</li>
</ul>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment