aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/js/main.js
diff options
context:
space:
mode:
authorMarco Alexander Fischer2018-08-27 20:16:02 +0200
committerMarco Alexander Fischer2018-08-27 20:16:02 +0200
commit88d85ea9b1177f08422842daa6b67344c881eb7f (patch)
tree09649ba00a20cd4131fa9f54377f8389e2a2053b /assets/js/main.js
parent92a8ac52edaeace47e183edb3648cc9fdfc20587 (diff)
Added scroll animations + extras
Diffstat (limited to 'assets/js/main.js')
-rw-r--r--assets/js/main.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
new file mode 100644
index 0000000..a473ca3
--- /dev/null
+++ b/assets/js/main.js
@@ -0,0 +1,12 @@
+$(document).ready(() => {
+ const fullPage = $(document).alton({
+ fullSlideContainer: 'full',
+ singleSlideClass: 'slide',
+ useSlideNumbers: true,
+ slideNumbersBorderColor: '#fff',
+ slideNumbersColor: 'transparent',
+ bodyContainer: 'pageWrapper',
+ });
+
+ $(".ScrollDown").click(() => $(".paginate:nth-of-type(2n)").click());
+}); \ No newline at end of file