Data-x-slide-goto Problem

Hi,

I have a grid of images which are linked to a modal, which operates as a lightbox slideshow. In the Cornerstone preview of the page, I can click on any image in the grid and the modal displays the correct image in the slideshow.

However, on the front end, clicking exactly the same image brings up image #1 in the grid, rather than the image being selected.

I have checked the custom attributes and they appear to be correct.

2024-07-05_15-16-11

Any ideas why this is working correctly in Cornerstone, but not on the public view?

Thanks,
Christopher

Hey Christopher,

Thanks for writing in!

You must do the following:
1.) Disable the Dynamic Rendering feature of the Modal element.

2.) You must add data-x-slider-id custom attribute to the Section element that contains the grid with the data-x-slide-goto attribute so that it will know which Slider is it.

Best Regards.

Hi @ruenel,

Thank you so much for the help. It works perfectly.

Many thanks,
Christopher

You are most welcome, Christopher.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.