Attached are a few files needed to create a "show-hide" action in Joomla's popular CCK extension, K2.
Procedure:
- Install "MooAccordion" plugin via standard Joomla Extension Installer
- Enable the Plugin via Extensions -> Plugin Manager
- Add the needed code to your template's index.php file (see code snippets file)
- Add the needed code to your template's CSS file (see code snippets file)
- Copy the needed images into your templates /images/ folder
- Now, you're ready to use the needed "Show-Hide" script to create the collapsing containers (see code snippets file)