Home>Support>Finding Current Slide in Layout Slider

Finding Current Slide in Layout Slider

Hello-

I am working with a website where we are trying to use the Layout Slider in a way that also has a list of links as a menu separately on the side for navigating between slides (this is being used as a way to showcase some products, and navigating directly between them). I am wondering if there is a way to either access, or get notified through an event, of which slide is currently visible in order to change the color of its corresponding link in the menu.

Thank you in advance!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi WebDev90

    Thanks for reaching out.

    Please, see Page: Layout Slider and let us know if that helps with this particular application.

  2. 4 years, 1 month ago WebDev90

    Hi Andrew-

    Thank you for your reply. I had come across that article, and it was very useful for getting the slider set up with direct links, it just didn’t have any mentions about callbacks. However, after a little digging, I found that the layout slider is built using a jQuery library called Cycle2. I went through their API library and found the events that I needed in order to dynamically update the style of the menu links (specifically “cycle-before” or “cycle-after” for this task).

    Here is the link to their library if anyone is looking to dig into the features of the layout sliders a little more: http://jquery.malsup.com/cycle2/api/.

    Thanks again for your quick reply and help with this question.

  3. 4 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi, sorry for missing the specifics of your question. I’m really glad to hear you made progress with the Cycle2 API. Thanks for sharing your findings and progress here on the forum. If SiteOrigin questions arise in the future, please, let us know.

    Cheers for now :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More