Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way to add your own customized chrome types to all WebParts?

We need some DIV structure around the web parts to make a expand/collapse effect, so that a user can click on a "plus" icon and the web part expands or "minus" icon to collapse the web part, like in this example.

share|improve this question
add comment

1 Answer

You may be able to by overriding the web part. However it's probably simpler to just add the required script into your page.

Searching for "expand collapse web parts" shows several examples:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.