1,804 articles and 14,883 comments as of Wednesday, May 25th, 2011

On past projects I have made web parts collapsible by wrapping web part zones with code in the page layout. The disadvantage with this approach is that it is not adjustable by the client without modifying the page layout. A project I just wrapped up required the flexibility for site owners to add or remove web parts that automatically became collapsible. This project was for SharePoint 2010, but I converted the solution to work with SharePoint 2007

During the course of a customization and branding effort in SharePoint you are likely to find that you want to style web parts to look different from (Dare I say better than?) the stylistic treatment default to SharePoint.

This is a jQuery script I wrote that looks at each web part on the page and, based on each web part’s chrome setting, adds containers around the web parts.