responsive

preloadImages

  • Available since: v1.0
  • Changed in: v1.2
  • Type: option
  • Data type: Boolean
  • Allowed values: true, false
  • Default value: true

Specifies whether slides remain hidden until all of the images are fully loaded.

Example:

$('.accordion').jAccordion({
	preloadImages : true //You don't even have to set this property because 'true' is default value
});

Demo 1

Demo 1 demonstrates behaviour of the plugin with the described option enabled. As you can see slides are displayed after loading of all the images is done. Horizontal accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 2

Demo 2 demonstrates behaviour of the plugin with the described option enabled. As you can see slides are displayed after loading of all the images is done. Vertical accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 3

Demo 3 demonstrates behaviour of the plugin with the described option disabled. As you can see slides are displayed even though images are not loaded. Horizontal accordion is used.

slide1
slide2
slide3
slide4
slide5

Demo 4

Demo 4 demonstrates behaviour of the plugin with the described option disabled. As you can see slides are displayed even though images are not loaded. Vertical accordion is used.

slide1
slide2
slide3
slide4
slide5

Changelog

version 1.2

Name of the option has been changed from usePreloader to preloadImages.


jAccordion by maniacpc, exclusively for CodeCanyon