| Name | Size | Mode | Actions |
|---|---|---|---|
| assets/ | - | 0755 | rm |
| json/ | - | 0755 | rm |
| autoHeight.html | 12664 | 0644 | editdlrm |
| click.html | 13422 | 0644 | editdlrm |
| custom.html | 14856 | 0644 | editdlrm |
| customJson.html | 11748 | 0644 | editdlrm |
| full.html | 11663 | 0644 | editdlrm |
| images.html | 11928 | 0644 | editdlrm |
| itemsCustom.html | 13885 | 0644 | editdlrm |
| json.html | 12178 | 0644 | editdlrm |
| lazyLoad.html | 14305 | 0644 | editdlrm |
| manipulations.html | 15951 | 0644 | editdlrm |
| navOnTop.html | 13740 | 0644 | editdlrm |
| navOnTop2.html | 11907 | 0644 | editdlrm |
| one.html | 11375 | 0644 | editdlrm |
| owlStatus.html | 15792 | 0644 | editdlrm |
| progressBar.html | 14865 | 0644 | editdlrm |
| randomOrder.html | 14583 | 0644 | editdlrm |
| scaleup.html | 11776 | 0644 | editdlrm |
| sync.html | 20101 | 0644 | editdlrm |
| transitions.html | 13016 | 0644 | editdlrm |
/var/www/clients/client1/web2/web/latynplast/js/owl.carousel/demos/autoHeight.html (12664B)
Add height to div="owl-wrapper-outer" so you can use diffrent heights on each slide. Use it only for one item per page setting. Don't use it on large content websites.
$(document).ready(function() {
$("#owl-demo").owlCarousel({
autoPlay : 3000,
stopOnHover : true,
navigation:true,
paginationSpeed : 1000,
goToFirstSpeed : 2000,
singleItem : true,
autoHeight : true,
transitionStyle:"fade"
});
});
<div id="owl-demo" class="owl-carousel"> <div><img src="http://placehold.it/1170x300/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x400/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x500/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x200/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x500/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x250/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x350/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x300/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x100/42bdc2/FFFFFF"></div> <div><img src="http://placehold.it/1170x500/42bdc2/FFFFFF"></div> </div>
#owl-demo .owl-item div{
padding:5px;
}
#owl-demo .owl-item img{
display: block;
width: 100%;
height: auto;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}