Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, October 30, 2014 9:27 AM
Hello !!!
I am beginner at SharePoint so apologizes in advance if my question is weird/abstract
I have created a SitePage, that contains only text and images.
The text is the introduction and the images are the main part. The images/graphs provides specific values for each month. So I have to add some of them every month and as you understand the SitePage is gonna be really long after few months.
What I would like to do is to be possible to expand/collapse the correspoding part of each month, by clicking on the name of the month.
Hope it is clear
Thanks in Advance
Evangelos
All replies (4)
Friday, October 31, 2014 9:00 AM âś…Answered
Hi,
According to your post, my understanding is that you want to expand/collapse text or part of a Site Page.
You can use JQuery to achieve it.
For more information, you can refer to:
JQuery for Everyone: Collapse Text in List View
Expand-Collapse for Multiline Text columns in Sharepoint
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Thursday, October 30, 2014 9:35 AM
Hi vagkavo,
Solution to your problem is to create new view with preview pane. To create a custom view, go to the list settings where you have uploaded images with the corresponding text, Click Create View, Select Standar view(or any other view if you want), then under style section, you can select options based on your requirement and click OK.
Hope this will fulfill your requirement.
Regards,
Malkeet Singh
If a post answers your question, please click Mark As Answeron that post and Vote as Helpful
Thursday, October 30, 2014 10:38 AM
Hello Malkeet,
Thanks a lot for your reply.
Please, let me give an example. Let's say that the SitePage is as follows:
Title
Introduction
October
November
December
Therefore, initially the images below the months to be collapsed. However, when you click on the name of the month, the corresponding images to be expanded
Thanks
Evangelos
Thursday, October 30, 2014 1:38 PM
So from what it sounds like, you're adding content directly onto a page? If that is the case I would advise against it! You're right that page will become unwieldy in short order.
More to what Malkeet was saying, if you move your content into a List and have a column for Month, you can then display that list's web part on the page, and modify the view to Group By: Month. That way you'll achieve essentially what you want.
Does that make sense?