Tony2_5
Thu Dec 15 2022 14:15:12 GMT+0000 (Coordinated Universal Time)
Saved by
@storetasker
<div class="slider" id="slider-model-viewer">
<div class="slides">
{% assign posters = ProductVRPosters | split: ',' %}
{% for poster in posters %}
{% unless forloop.index0 == 0 %}
<button
class="slide{% if forloop.index0 == 1 %} selected{% endif %}"
onclick="switchSrc(this, {{ forloop.index0 }})"
style="background-image: url('{{ poster }}');"
></button>
{% endunless %}
{% endfor %}
</div>
</div>
content_copyCOPY
Comments