From 88d85ea9b1177f08422842daa6b67344c881eb7f Mon Sep 17 00:00:00 2001 From: Marco Alexander Fischer Date: Mon, 27 Aug 2018 20:16:02 +0200 Subject: Added scroll animations + extras --- assets/js/main.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 assets/js/main.js (limited to 'assets/js/main.js') 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 -- cgit v1.2.3