deactivate arrow navigation
Philippe-M opened this issue · 1 comments
Philippe-M commented
Hello,
I use vonobox several times on a page for several elements but which have no link between them. The problem is that when I click on the first (<article id = "post-25" ...) I have the arrows to access the other article id = "post-27". How to stop having this behavior?
<article id="post-25">
<div><strong>Title 1</strong></div>
<div><img src="img-1.png"></div>
<div>
<div>
<div><a href="produit.pdf" title="Télécharger la fiche produit">Fiche produit</a></div>
<div><a href="index.php?article25" class="venobox" data-gall="inline" data-vbtype="ajax">Photos</a></div>
</div>
<div>
<div><a href="technique.pdf" title="Télécharger la fiche données">Fiche données</a></div>
<div><a href="https://youtu/aaaaa" class="venobox" data-gall="data-video" data-autoplay="true" data-vbtype="video">Vidéos</a></div>
</div>
</div>
</article>
<article id="post-27">
<div><strong>Title 2</strong></div>
<div><img src="img-2.png"></div>
<div>
<div>
<div><a href="produit.pdf" title="Télécharger la fiche produit">Fiche produit</a></div>
<div><a href="article27" class="venobox" data-gall="inline" data-vbtype="ajax">Photos</a></div>
</div>
<div>
<div><a href="data.pdf" title="Télécharger la fiche données">Fiche données</a></div>
<div><a href="https://youtu/bbbbb" class="venobox" data-gall="data-video" data-autoplay="true" data-vbtype="video">Vidéos</a></div>
</div>
</div>
</article>
<script>$(".venobox").venobox();</script>
nicolafranchini commented
You should simply remove the data-gall
attributes, they are used to enable galleries.