Expandable/Collapsable Text

Bronze Contributor

Hi,

Is there way to create/format text that is expandable and collapsable in sharepoint? Like on technet (e.g. https://technet.microsoft.com/en-us/library/jj200580(v=exchg.150).aspx) 

6 Replies
I get a 404 on that link. You have access to JQuery in SharePoint pages so you can use that to create collapsible (accordion) formatting.

one ")" too many: https://technet.microsoft.com/en-us/library/jj200580(v=exchg.150).aspx

I have no experience to jquery in SharePoint. Would have any examples for me?

 

Don't use JavaScript to extend the functionality of SharePoint please. You will have a lot of impact if you update by CU or Upgrade the whole version. I am SharePoint Online Admin for a large user-group and did a lot of changes in the past. Every change and move away from the default functionality will Impact you in the future of the product.
Its a good decision to answer your customer whats possible by default in SharePoint. If you need more functionality in SharePoint you can buy or develop Apps.

I have used jquery to display list data in accordion format.  I then expanded that into a web part that did the same (on-premise).  I do agree with the other comments, this increases maintenance costs and risk.  We recently started allowing our users to use Apptex which has an accordion feature.  http://spapptex.com/ (I am no way associated with Apptex, just use the free version)  Hope this info helps.

Sorry Steven but I have to disagree. It is the preferred method for making simple UI improvements and easily scales to many pages/sites/collections by using a file in a commonly accessible location that is then included into SharePoint using one of several non-destructive methods.
Sorry about the delayed response. I'm afraid I'm rather busy at present. Using JQuery with SharePoint isn't that hard and there are plenty of examples of accordions using JQuery. There are various ways to include your JavaScript into SharePoint depending on whether you need to amend one page, a site or more.