Ich arbeite an einem Bootstrap-Karussell für shopify und zuerst habe ich ein Problem mit den Indikatoren, die sie für die richtige Anzahl von Bildern anzeigen. aber nach der zweiten Anzeige auf dem Indikator klicken es nicht mehr funktioniertShopify Bootstrap Karussell
<div id="carousel" class="carousel slide">
\t \t \t
<!-- Indicators -->
<ol class="carousel-indicators">
{% for image in product.images %}
{% if forloop.first %}
<li data-target="#carousel" data-slide-to="0" class="active"></li>
{% else %}
<li data-target="#carousel" data-slide-to="1"></li> \t
{% endif %}
{% endfor %}
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
{% assign featured_image = product.selected_or_first_available_variant.featured_image | default: product.featured_image %}
<div class="item active">
<img src="{{ featured_image | img_url: 'master' }}" class="img-responsive" alt="{{ product.title }}" width="100%" />
</div>
{% if count_images > 0 %}
{% for image in product.images offset:1 %}
<div class="item">
<img src="{{ image | product_img_url: 'master' }}" class="img-responsive" alt="{{ product.title }}" width="100%" style="min;height: 115px !important;" />
</div>
{% endfor %}
</div>
{% endif %}
<!-- Controls -->
<a class="left carousel-control" href="#carousel" data-slide="prev">
<span class="fa fa-arrow-left"></span>
</a>
<a class="right carousel-control" href="#carousel" data-slide="next">
<span class="fa fa-arrow-right"></span>
</a>
\t \t
</div>
Works besser als meine aktuellen Code, aber die Indikatoren sind nach wie vor aus – Kenny
wie so? Hast du eine Beispielseite? – bknights
ist es durch das allerletzte Bild – Kenny