• Resolved daaan26

    (@daaan26)


    Hi,

    I was wondering if the plugin has an option to load on a specific slide.
    Lets say I have a slider containing three slides. The slides are in a specific order, but I want to give the users the option to load the page with slide 3 displaying on load.

    Is there any way to achieve this?
    I tried putting the anchor links of the slides behind the url, but unfortunately this was not working.

    Please let me know if this is possible or not.
    Would be a major help.

    Thanks in advance for a reply.

    Best regards,

    Daan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simonpedge

    (@simonpedge)

    No built in function in the plugin to handle this, BUT you could have a look at Events provided by Owl Carousel:
    https://owlcarousel2.github.io/OwlCarousel2/docs/api-events.html

    So you can have the following JavaScript/jQuery that could execute upon page load or when a page element is clicked:

    var owl = jQuery('#SLIDER_ID');
    owl.trigger('to.owl.carousel', [3, 0]);

    Note 1: Replace ‘#SLIDER_ID’ witth the CSS ID for your slider.
    Note 2: The ‘[3,0]’ parameters – the 1st parameter is the slide no, and the second is the animation transition speed in milliseconds.

    Plugin Author simonpedge

    (@simonpedge)

    I’m marking this as resolved, as this feature does not exist within Owl Carousel so there is nothing I can do to achieve this within Slide Anything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.