TomTech Posted December 4, 2020 Share Posted December 4, 2020 Site URL: https://www.kvmexhibits.org/showmoredemo In the second section of the provided url, I'm using the following: Markdown: ### **+RYAN'S CIRCUS** Held in October 1991... Then at the bottom of the section I'm using the following code block: <script type="text/javascript"src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script><script>$(document).ready(function(){$('.markdown-block .sqs-block-content h3').css('cursor','help');$(".markdown-block .sqs-block-content h3").nextUntil("h3").slideToggle();$(".markdown-block .sqs-block-content h3").click(function(){$(this).nextUntil("h3").slideToggle();});});</script> I'm wondering if there's an addition to this code that would add a collapse function at the end of a markdown. On mobile, some of these markdowns will be really long and it would be nice to just collapse when you're done reading, instead of scrolling back up to collapse it. Link to comment
tuanphan Posted December 6, 2020 Share Posted December 6, 2020 Hi. Have you found the solution yet? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment