Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-19 16:33:29 +0300
committerHanzei <hanzei@mailbox.org>2018-07-19 16:33:29 +0300
commit9125225a21e426ccf7392ff0d86b2b37c6b005ee (patch)
tree69de981122bede1c0c1caf5c49eb407bf8ab9a1a /assets
parent2246ec73706055d8c3db149bda0f1dd387ba9e7e (diff)
Add owlCarousel to homepage modal
Diffstat (limited to 'assets')
-rw-r--r--assets/js/initOwlCarousel.js9
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
+ });
+});