New Icon_Action for hidding or showing a DIV

This commit is contained in:
sparkyx 2022-10-16 23:10:31 +02:00
parent 50dcb029ff
commit b382455dd0
3 changed files with 38 additions and 5 deletions

View file

@ -111,4 +111,10 @@ include_once NOALYSS_INCLUDE."/lib/icon_action.class.php";
<p>
Increase INPUT TEXT Element
<input type="text" id="text_element" size="20"><?php echo Icon_Action::longer("text_element",50)?>
</p>
</p>
<p>
<?php echo \Icon_Action::toggle_hide(uniqid(),"example_div")?>
<div id="example_div" style="display:none">
Ceci est caché
</div>
</div>