Slideshow only (kSlideshow, dataSource: array)

JavaScript

  1. $(document).ready(function() {
  2.         gallery = kSlideshow({
  3.                 wrapper: '#slideshow-only',
  4.                 dataType: 'array',
  5.                 dataSource: [{ "large":"img1.jpg", "thumb":"img1_sml.jpg", "title":"title!" }, { "large":"img2.jpg", "thumb":"img2_sml.jpg", "title":"title2!" }],
  6.                 autoPlay: false, //autoplayback is turned off
  7.                 enableTitle: false, //images titles is turned off
  8.                 startItem: 0
  9.         });
  10. });
  11.  

HTML

  1. <div id="slideshow-only">
  2.  
  3. </div>

CSS

  1. .kSlideshowWrapper, .kSlideshowItemDiv{
  2.         width: 400px;
  3.         height: 267px;
  4. }
  5. .kSlideshowItemDiv img{
  6.         z-index: 400;
  7. }
  8.