diff options
author | Hanzei <hanzei@mailbox.org> | 2018-07-19 16:33:29 +0300 |
---|---|---|
committer | Hanzei <hanzei@mailbox.org> | 2018-07-19 16:33:29 +0300 |
commit | 9125225a21e426ccf7392ff0d86b2b37c6b005ee (patch) | |
tree | 69de981122bede1c0c1caf5c49eb407bf8ab9a1a /assets | |
parent | 2246ec73706055d8c3db149bda0f1dd387ba9e7e (diff) |
Add owlCarousel to homepage modal
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/initOwlCarousel.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/js/initOwlCarousel.js b/assets/js/initOwlCarousel.js new file mode 100644 index 0000000..fad5b64 --- /dev/null +++ b/assets/js/initOwlCarousel.js @@ -0,0 +1,9 @@ +$(document).ready(function(){ + $(".owl-carousel").owlCarousel({ + loop: true, + nav: true, + margin: 10, + items: 1, + autoHeight: true + }); +}); |