-
It happens. Hopefully less often as you get more experience under your belt. You take a quick look at a task on a project and based on previous experience with “similar” tasks, you give what you think is a fairly…
-
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…
-
Nearly automatic breadcrumbs
Breadcrumbs var here = location.href.replace(/(\?.*)$/,”).split(‘/’).slice(3); var parts = [{ “text”: ‘Home’, “link”: ‘/’ }]; for( var i = 0; i < here.length; i++ ) { var part = here[i]; var pageName = part.toLowerCase(); pageName = part.charAt(0).toUpperCase() + part.slice(1); var link…