Is there a way to get tabs from one section to control a flickity slider for another section?

Aimee50
Excursionist
22 0 1

Hi there,

 

I have a custom tab section on my site which I'd like the tabs to also control the view of another section. Is this possible? The section I'd like to change according to the tab selected is an Image Slideshow with Text section with flickity buttons.

I've made a screen-recording here which may explain things better: https://www.loom.com/share/53217348986d42bb9cbe9e86ad6bff7b

The page in question can be seen here: https://hello-ea9a.myshopify.com/pages/size-guide

Thanks in advance

Replies 2 (2)
ZenoPageBuilder
Shopify Partner
244 45 55

Hello @Aimee50 👋

Based on your explanation, I'm sure that is possible. The way we can do:

- Add a click event listener on the tabs. If the user clicks on a tab, we will trigger a click event on the slider handles also, so it will change slide.

 

It requires some custom Js code so I recommend finding a developer to do the task. Hope you all the best!

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
Aimee50
Excursionist
22 0 1

Hi @ZenoPageBuilder thanks so much for your reply. Unfortunately I've now spent more on this site than I'm going to make so hiring a developer is not an option. Thanks for pointing me in the right direction. I might do some googling to see if I'm able to add an event listener.

Thanks again!