Fandom

Kirkburn Wiki

Syntax

735pages on
this wiki
Add New Page
Comments0 Share
function restartSlideshow(sliderId, interval) {
  var timer = null;
  var sliderElem = $('#wikiaPhotoGallery-slider-body-' + sliderId);
  sliderElem.find('.nav.selected').click();
  sliderElem.find('.nav').off('click').click(function (e) {
    if (sliderElem.find('.wikiaPhotoGallery-slider').queue().length == 0) {
      clearInterval(timer);
      WikiaPhotoGallerySlider.scroll($(this));
    }
  });
  $(window).unbind('EditPagePreviewClosed').bind('EditPagePreviewClosed', function () {
    WikiaPhotoGallerySlider.killSlider(timer);
  });
  if (sliderElem.find('ul').children().length > 1) {
    timer = setInterval(function () {
      WikiaPhotoGallerySlider.slideshow(sliderId);
    }, interval);
  }
}

test2

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.