Forum Discussion
Ivan54
Aug 26, 2016Bronze Contributor
Expandable/Collapsable Text
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)
Julian Knight
Aug 26, 2016Steel Contributor
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.
- Ivan54Aug 26, 2016Bronze Contributor
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?
- Julian KnightSep 05, 2016Steel ContributorSorry 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.
- Steven RudolphAug 26, 2016Copper ContributorDon'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.- Julian KnightSep 05, 2016Steel ContributorSorry 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.