Jump to content

Recommended Posts

The actual code is at https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-creating-collapsible-sections/


But since you want to show another button when section is open I recommend the code below.

Disable HTML Editor for all HTML Blocks and Header/Footer mentioned below.

In the HEADER paste the code below:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>


On top of the first section add HTML Block and use the code below:

<img src="URL to hide" id="d1" style="cursor:pointer;">
<img src="URL to show" id="s1" style="cursor:pointer;">
<table id="Section1"><td>

HTML Block after Section one and beginning section 2

<img src="URL to hide" id="d2" style="cursor:pointer;">
<img src="URL to show" id="s2" style="cursor:pointer;">
<table id="Section2"><td>

And HTML Block at the end of section 2



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...