EASY EXPANDABLE SECTIONS ON YOUR WEB PAGES - Nov 5th, 2022


Need to create 1 or more expandable sections on your pages?
Here's how, using just a few html 5 tags, <details> and <summary> ...

On a Detail Page


<details>
<summary style="text-decoration:underline">Click/Tap for an expanded version</summary>

<p class="text_font"><?php echo $yourRecord['your_field']?></p>
</details>


Or on a list page


<?php foreach ($your_tableRecords as $record): ?>
<details>
<summary style="text-decoration:underline">Click/Tap for more about <?php echo $record['title']?></summary>
<?php echo $record['your_description_field']?>
</details>
<?php endforeach ?>



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service