| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/public_html/wp-content/plugins/slider-video/Scripts/ |
Upload File : |
(function(IIS) {
"use strict";
var _updateActiveBullet = function(slider, activeIndex) {
var bullets = slider._attributes.bulletNav.querySelectorAll('a');
if (!bullets) return;
Array.prototype.forEach.call(bullets, function(bullet, i) {
IIS._removeClass(bullet, 'iis-bullet-active');
bullet.setAttribute('aria-selected', 'false');
if (i === activeIndex) {
IIS._addClass(bullet, 'iis-bullet-active');
bullet.setAttribute('aria-selected', 'true');
}
}.bind(this));
};
IIS.Slider.prototype.addBulletNav = function() {
IIS._addClass(this._attributes.container, 'iis-has-bullet-nav');
var bulletNav = document.createElement('div');
IIS._addClass(bulletNav, 'iis-bullet-nav');
bulletNav.setAttribute('role', 'tablist');
Array.prototype.forEach.call(this._attributes.slides, function(slide, i) {
var bullet = document.createElement('a');
bullet.innerHTML = i + 1;
bullet.setAttribute('role', 'tab');
bullet.addEventListener('click', function() {
if (IIS._hasClass(this._attributes.container, this.settings.classes.animating)) return false;
this.stop();
this.gotoSlide(i + 1);
}.bind(this));
bulletNav.appendChild(bullet);
}.bind(this));
this._attributes.bulletNav = bulletNav;
this._attributes.container.appendChild(bulletNav);
_updateActiveBullet(this, 0);
var origAfterChange = this.settings.afterChange;
var afterChange = function() {
var slides = this._attributes.slides,
index = slides.indexOf(this._attributes.currentSlide);
_updateActiveBullet(this, index);
return origAfterChange();
}.bind(this);
this.settings.afterChange = afterChange;
};
return IIS;
})(IdealImageSlider);