Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Show more and Less option in the page

Vote:
 

Hi Guys,

I have a requirement in which I need to show a small paragraph(only 5 lines of text out of 50 lines) and a button. On click of a button I should show the complete paragraph (50 lines).

Please suggest me on this.

#131867
Aug 07, 2015 11:12
Vote:
 

Hi,

Maybye you could have one Xhtml property to store all 50 paragraphs and use JavaScript plugin to toggle "Read More" text.

#131870
Aug 07, 2015 11:36
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.