Home>Support>Finding Current Slide in Layout Slider

Finding Current Slide in Layout Slider

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. 5 years, 20 hours 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. 5 years, 12 hours 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. 5 years, 11 hours 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