responsive

activeSlideClass

  • Available since: v1.0
  • Changed in: v1.2
  • Type: option
  • Data type: String
  • Default value: 'active_slide'

Class which is added to active slide so it's possible to change its style via CSS.

Example:

$('.accordion').jAccordion({
	activeSlideClass : 'activeHorizontal'
});

Demo 1

Demo 1 demonstrates using the described option by specifying a css rule which changes border of the active slide. Horizontal accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 2

Demo 2 demonstrates using the described option by specifying a css rule which changes border of the active slide. Vertical accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Changelog

version 1.2

Name of the option has been changed from activatedSlideID to activeSlideClass.


jAccordion by maniacpc, exclusively for CodeCanyon