public class $.symphonyCollapsible

symphony.collapsible.js

This plugin makes items collapsible.

				var collapsible = $('#duplicator').symphonyCollapsible({
					items:		'.instance',
					handles:	'.header span'
				});
				collapsible.collapseAll();

Methods

static symphonyCollapsible(Object $custom_settings, String $custom_settings.items, String $custom_settings.handles, Boolean $custom_settings.delay_initialize)

This plugin makes items collapsible.

				var collapsible = $('#duplicator').symphonyCollapsible({
					items:		'.instance',
					handles:	'.header span'
				});
				collapsible.collapseAll();
Parameters
  • $custom_settings ObjectAn object specifying containing the attributes specified below

  • $custom_settings.items StringSelector to find collapsible items within the container

  • $custom_settings.handles StringSelector to find clickable handles to trigger interaction

  • $custom_settings.delay_initialize BooleanInitialise plugin extensions before the collapsible itself is initialised

public
cancel()

Cancel collapsing

public
collapseAll()

Collapse all open items

public
expandAll()

Expand all closed items

public
initialize()

Set up the collapsible items and bind event handlers

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details