Prolong the Slide Duration in Slider Pro Slideshow

I am currently utilizing Slider Pro from bqworks.com for a slideshow with automated cycling on my website. I would like to adjust the display duration of each image in the slideshow. The documentation mentions a property called "slideAnimationDuration," which is set to a default value of 700. I attempted to modify this value, but it did not have any effect. Unfortunately, I could not find much helpful information online either. Any assistance with this issue would be greatly appreciated!

Below is the code snippet I am using:

jQuery(document).ready(function($) {
  $("#my-slider").sliderPro();
});

$("#my-slider").sliderPro({
  width: '100%',
  height: $(".header").height(),
  slideAnimationDuration: 5000,
  arrows: true,
  buttons: false,
  waitForLayers: true,
  fade: true,
  autoplay: true,
  autoScaleLayers: false
});
html,
body {
  padding: 0;
  margin: 0;
}

.header {
  height: 100vh;
}
<div class="header">
  <div class="slider-pro" id="my-slider">
    <div class="sp-slides">
      <div class="sp-slide">
        <img class="sp-image" src="https://dl.dropbox.com/s/rp1imhbw1s06vjv/IMG_4875.JPG" />
      </div>
      <div class="sp-slide">
        <img class="sp-image" src="https://dl.dropbox.com/s/6ffmnfh0oukrgb7/IMG_5064.JPG" />
      </div>
    </div>
  </div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

Answer №1

Discovered the solution, found a "autoplayDelay" attribute that operates in milliseconds

Answer №2

From the link you provided, it appears that the 'slideAnimationDuration' property specifically determines the length of time it takes for the sliding animation to finish, not the time between each slide animation.

Upon reviewing the documentation, there does not seem to be a way to adjust how long each slide is displayed for. It seems like your misunderstanding stems from misinterpreting the purpose of a property. The wording in the documentation can be a bit confusing, making it easy to overlook.

Answer №3

autoplayDelay set to 15000 milliseconds, meaning each slide will change after a 15-second delay

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Insert values for each option selected in the multiple selection

In my form, I have multiple select options. My goal is to insert a value into the database for each user who is selected with a checkbox, based on the options chosen in the select menu (which allows multiple selections). User1: 5,7,8 User2: 6,4 User ...

Tips for Integrating a Facebook Shop Page into Your Website

Can a Facebook shop page be integrated into a website? Any guidance on how to accomplish this task would be greatly valued. ...

Error: The function screams cannot be accessed in this.state in React JS when using Firebase

This is the code I am working on and I need help to solve a problem: import React, { Component } from 'react' import Grid from '@material-ui/core/Grid'; import axios from 'axios'; class home extends Component { state = { ...

extract data from text node using selenium

Currently, I am working on a web application and testing it with Selenium. Within my code, there is a specific node that I am trying to extract data from. <span>Profile Run <span class="current">23</span> of 29</span> My main obje ...

Extra Charges for PayPal on Woocommerce Checkout Screen

Our team at Woocommerce is currently in the process of implementing an extra fee for orders purchased through the Paypal payment gateway. We successfully adjusted the price sent to Paypal with the following code: add_filter('woocommerce_paypal_args& ...

What is the best way to retrieve specific JSON data from an array in JavaScript using jQuery, especially when the property is

Forgive me if this question seems basic, I am new to learning javascript. I am currently working on a school project that involves using the holiday API. When querying with just the country and year, the JSON data I receive looks like the example below. ...

Matching numbers that begin with zero or are completely optional using Regex

Attempting to come up with a regex pattern that will allow the entry of the specified input into an HTML input field: The input must begin with 0 The input can be left empty and characters may be deleted by the user ^[^1-9]{0,1}[0-9\\s-\& ...

Struggling to incorporate pagination with axios in my code

As a newcomer to the world of REACT, I am currently delving into the realm of implementing pagination in my React project using axios. The API that I am utilizing (swapi.dev) boasts a total of 87 characters. Upon submitting a GET request with , only 10 cha ...

Strategies for handling uncaught promise rejections within a Promise catch block

I'm facing a challenge with handling errors in Promise functions that use reject. I want to catch these errors in the catch block of the Promise.all() call, but it results in an "Unhandled promise rejection" error. function errorFunc() { return ne ...

What techniques can be used to ensure that an ASMX web service sends JSON data to the client in response to an HTTP GET

Trying to integrate the official jQuery autocomplete plugin with an ASMX web service in an ASP.NET 3.5 Web Forms application has been challenging. The autocomplete plugin requires HTTP GET calls with specific query string parameters, but I'm strugglin ...

The issue of sluggishness in Material-UI when expanding the menu is causing delays

Watch Video Having trouble with the behavior of the Menu opening and closing similar to this example. The text seems slow to change position. Any ideas why? This is the devDependencies configuration I am using in webpack. "devDependencies": { ...

What is the reason behind AngularJS consistently selecting the first TD cell?

I'm a beginner in AngularJS and I'm testing my skills by creating a small game. Here's the table structure I have: <table class="board"> <h1>Table</h1> <input type="number" ng-model="val"><button ng-click="ctrl.f ...

Error encountered: Java NullPointerException in Applet

When attempting to embed an applet into an HTML file for a university class demonstration, I consistently encounter a NullPointerException dialog upon execution. What could be causing this issue? <html> <head> <title> My Pacman Gam ...

Generate text in reStructuredText with columns

I'm attempting to style a reStructuredText segment in the following layout: type1 : this type4 : this type7 : this type2 : this type5 : this type8 : this type3 : this type6 : this type9 : this I want to fill the page with tex ...

Don't forget the last click you made

Looking for a way to style a link differently after it has been clicked and the user navigates away from the page? Check out this code snippet I've been using: $(document).ready(function(){ var url = document.URL; function contains(search, find) { ...

Tips for setting up a bookmark in bootstrapvue

Hello everyone, I am currently working with bootstrapvue and I need help figuring out how to add a favorite icon. The documentation only provides icons for rating systems. I have a list of reports and I want users to be able to mark their favorites, simil ...

Increase the spacing within div columns containing rows of uniform height

Is there a way to add some extra space between the H3-1 div and the H3-2 div? Ideally, I would like to achieve this without using custom CSS, but if necessary, that's okay too. I'd prefer to stick with the col-sm-6 class instead of using col-sm ...

uncovering the precise text match with the help of Beautifulsoup

I am looking to retrieve the precise matching value of text from HTML using Beautiful Soup. However, I am encountering some similar text along with my desired exact match. Here is my code: from bs4 import BeautifulSoup import urllib2enter code here url="h ...

Tips on connecting a font directory from FontAwesome

I am currently attempting to incorporate the fonts provided by FontAwesome for their icons, and they specify that a root folder named Fonts is needed. My attempt to link it was using: <link type="text/css" href="/myPath/font" /> ...

Showing how to make an element visible in Selenium and Python for file uploading

Check out this HTML snippet: <div class="ia-ControlledFilePicker"><input class="ia-ControlledFilePicker-control icl-u-visuallyHidden" type="file" id="ia-FilePicker"><label class="ia-ControlledFilePicker-fakeControl" for="ia-FilePicker">C ...