show/hide chunk of text?
-
Hello,
I'm wondering if it's possible to implement a hide/reveal button in gridder which, when clicked, would reveal a styled paragraph of text?
For example, I would like to have a 'description' button that, when clicked, reveals information. Please let me know, thank you!
-
Dear @mrrpringle
this is a nice idea!Until now you would need to code that with jQuery.
Make a new div which you give a class. For example: buttonThen you can give the box which you want to hide and show another class. For example: the-box
In CUSTOM CSS you add this:
.the-box { display: none; } .box-active .the-box { display: block !important; }With jQuery you can make a function which activates the box:
<script> jQuery(document).on("click", ".clickme", function(event) { jQuery("body").addClass("box-active"); }); </script>This quick example demonstrates you how it could work You still need to work on it.
You are looking for something like an accordeon…
Hope I could help!
Best!
Marius
-
M Max.Weinland referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login