richnyc30 Yes, it is to make a block of text appear and disappear with a click.
I found some code to do this but not sure how the function fits into Joomla. A small plugin or something would be great. Or how to use a function.
<button onclick="myFunction()">Try it</button>
<div id="myDIV">
This is my DIV element.
</div>
<p><b>Note:</b> The element will not take up any space when the display property
is set to "none".</p>
<script>
function myFunction() {
var x = document.getElementById("myDIV");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
</body>
</html>