dimanche 7 février 2021

WIX Help Random start in slide deck gallery

THE SETUP

On my WIX site I have:

  • a collection called Ads980x120 with a few entires (ads and links)
  • a dataset on the page linked to that collection
  • a 980p x 120p slide deck gallery linked to that dataset (image field and link field)

It currently works perfectly rotating those images on the site.

THE PROBLEM

I do not want the same image to show and start the rotation when the page loads. I want the images to be shown in a random order. This could be option #1: A random starting image and then continuing in the same order, or option #2 a random starting image AND random order. Either one would be fine based on difficulty level.

Lastly, there are some pages that have a couple different galleries so ideally I would be able to paste this code multiple times on the page (once for each gallery) and I would like the links to open into new windows.

I hope this makes sense and thank you in advance for any advice or help!




Aucun commentaire:

Enregistrer un commentaire