Hi,
I’don’t know if you like the way i used, but see at https://www.leparole.net/moods and try to click on the “link” item (and in the others, ade in the same way.
If you like the solution, you find the code and the instructions
here:
https://www.scriptygoddess.com/archives/2003/01/16/showhide-anything/
Anyway, cause links in WP are divided in subcategories, the graphic issue wasn’t perfect, so I made some modification to the second chunk of code present there.
So, take the first one from the site of scriptygoddess (the onhe which goes between the “head” tags, but for the second, if you like, you can use this:
‘<!–scriptgoddes LINKS INIZIO–>
<!– …. do not change the line below … –>
<?
$layernum++;
if (!isset($jsenabled)) {
?>
- <span id=”click<? echo $layernum; ?>”>,’#?jsenabled=no’);return false;”>
<!– … do not change the line above … –>
<?php _e(‘(+) Links’); ?>
<!– …. do not change the line below … –>
</span>
<? } ?>
<!– if users click on the link and it doesn’t work – the page will be refreshed with the block below showing –>
<!– Below is layer that is shown when open –>
<div id=”hide<? echo $layernum; ?>” <? if (!isset($jsenabled)) { ?> style=”display: none” <? } ?>>
<!– … do not change above (can customize the line below) … –>
,0);return false;”>
(-) Links
<!–questa ??? la lista dei links–>
<ul style=”font-size: 140%;”><BR>
<?php get_links_list(); ?>
<!– you can also copy this block (look for the next ******) and duplicate it ABOVE the text you’re hiding… that way people don’t have to scroll to “close” the block –>
<!– ******* if duplicating copy to here and copy and paste above the text you’re hiding to allow for another link to close the block –>
</div>
<!– … do not change the lines above … –>
<!–<LI style=”font-family:georgia, times, serif; font-weight:bold;”>–>
<!–scriptgoddes LINKS FINE–>’