How to make an expandable/collapsable paragraph without Javascript?

Hello, I have created an enewsletter that has very long articles in it. I have a button that currently expands/collapses to show a preview of the article vs. the full text. It is in javascript and I have just discovered that all my javascript is getting stripped off and is not compatible.
Is there a way to do this with HTML/CSS or any other coding language that will be supported?


oneblackcrayon oneblackcrayon, 5 years ago

Hi tvanderbiltgroup!
Welcome to the forums!
You could try using CSS3 to create a display:none/display:block effect on your button.
Otherwise, I am not aware of any other method.

roshodgekiss roshodgekiss, 5 years ago

Hi tvanderbiltgroup and Frederick, you may want to take a look at our tutorial on progressive disclosure. This technique absolutely won't work in many email clients (it's been designed exclusively for mobile), so no promises it will be of use in this scenario.

Get in touch with us on Twitter:
We're also on Facebook:

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free