fujitsuDev
New Member
Hi,
By default, images in slideshow can be opened in light popup on click, right?
I use a custom template, but lightbox doesn't work on hover.
Template custom code:
Rended HTML:
Thank you.
By default, images in slideshow can be opened in light popup on click, right?
I use a custom template, but lightbox doesn't work on hover.
Template custom code:
Code:
<div>
<?php $element = $this->groups['offer_4_pictures_comments']->elements['pictures']; ?>
<?php if ($element->value) : ?>
<p class="infos-comm uk-margin-remove-top uk-margin-remove-bottom">
<?php echo $element->element; //echo $element->element_ro; ?>
</p>
<?php endif; ?>
</div>
Rended HTML:
Code:
<div>
<p class="infos-comm uk-margin-remove-top uk-margin-remove-bottom">
</p>
<div class="fabrikElementReadOnly" id="fabrik_offer___pictures_ro">
<div id="fabrik_offer___pictures_ro_carousel" class="carousel slide mootools-noconflict" data-interval="false"
data-pause="hover" style="width:400px">
<!-- Carousel items -->
<div class="carousel-inner">
<div class="item active">
<img height="100%" width="100%" object-fit="contain"
src=".../698_3.jpg" alt="698_3.jpg"
style="margin:auto">
</div>
<div class="item"> <img height="100%" width="100%" object-fit="contain"
src=".../698_2.jpg" alt="698_2.jpg"
style="margin:auto">
</div>
<div class="item"> <img height="100%" width="100%" object-fit="contain"
src=".../698_1.jpg" alt="698_1.jpg"
style="margin:auto">
</div>
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#fabrik_offer___pictures_ro_carousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#fabrik_offer___pictures_ro_carousel" data-slide="next">›</a>
</div>
</div>
</div>
Thank you.