Attached are a few files needed to create a "show-hide" action in Joomla's popular CCK extension, K2.

Procedure:

  1. Install "MooAccordion" plugin via standard Joomla Extension Installer
  2. Enable the Plugin via Extensions -> Plugin Manager
  3. Add the needed code to your template's index.php file (see code snippets file)
  4. Add the needed code to your template's CSS file (see code snippets file)
  5. Copy the needed images into your templates /images/ folder
  6. Now, you're ready to use the needed "Show-Hide" script to create the collapsing containers (see code snippets file)