Per Design

Mostly musings on design

Per Design

  • CSS classes based on page location

    When styling SharePoint sites, it can be very useful to add specific styles to specific “pages” or views. Here’s a bit of jQuery/javascript code to make that possible. It works by grabbing the page location turning it into classes that are added to the body tag. jQuery(document).ready(function($){ //use a javascript variable to hold the results…

  • Nearly automatic breadcrumbs

    Breadcrumbs Generates breadcrumb links based on the URL/path of the document (this code currently requires jQuery).