From f8f88d6fc257819f5bc82a4ad9a60fff75078389 Mon Sep 17 00:00:00 2001 From: Julian Date: Sat, 5 Feb 2022 15:42:59 +0100 Subject: [PATCH] Skeleton clicky --- css/style.css | 8 +++----- index.html | 16 ++++++++-------- js/main.js | 34 ++++++++++++++++++++++++++++++---- 3 files changed, 41 insertions(+), 17 deletions(-) diff --git a/css/style.css b/css/style.css index 90011c7..f977529 100644 --- a/css/style.css +++ b/css/style.css @@ -1133,7 +1133,7 @@ form label { text-align: center; } -.plus-button .icon +.plus-button a { width: 70px; height: 70px; @@ -1147,13 +1147,11 @@ form label { border-radius: 50%; } - - -.plus-button .icon i +.plus-button .icon a i { display: table-cell; vertical-align: middle; - height: 70px; + height: 60px; font-size: 40px; line-height: 40px; color: #efefef; diff --git a/index.html b/index.html index 23fcdcb..101135c 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,7 @@

Draga & Julian

-

Wir werden heiraten!

+

Wir werden am 01.07.2022 heiraten!

@@ -110,30 +110,30 @@

Nimmst du Teil?

-

Bitte gebt uns mit folgendem Formular bis zum 03.03.2022 bescheid ob ihr könnt oder nicht! +

Bitte gebt uns mit folgendem Formular bis zum 03.03.2022 bescheid ob ihr könnt oder nicht! Falls nicht bitte einfach die Seite wieder verlassen. Die Feier wird in Frankfurt (DE) stattfinden.

-
+
- - + +
- - + +
- +
diff --git a/js/main.js b/js/main.js index e3b8a71..2edf024 100644 --- a/js/main.js +++ b/js/main.js @@ -182,6 +182,33 @@ }; + var addField = function() { + $('.js-addField').on('click', function(event){ + + event.preventDefault(); + + // Container
where dynamic content will be placed + var container = document.getElementById("attentants"); + // Clear previous contents of the container + // while (container.hasChildNodes()) { + // container.removeChild(container.lastChild); + // } + //container.appendChild() + + // Append a node with a random text + container.appendChild(document.createTextNode("Member")); + // // Create an element, set its type and name attributes + // var input = document.createElement("input"); + // input.type = "text"; + // input.name = "member" + i; + // container.appendChild(input); + // // Append a line break + // container.appendChild(document.createElement("br")); + + return false; + }); + } + // Loading page var loaderPage = function() { $(".fh5co-loader").fadeOut("slow"); @@ -209,7 +236,7 @@ // Parallax var parallax = function() { - $(window).stellar(); + $(window).stellar({ horizontalScrolling: false }); }; @@ -225,9 +252,8 @@ loaderPage(); counter(); counterWayPoint(); + addField(); }); -}()); - -$(window).stellar({ horizontalScrolling: false }); \ No newline at end of file +}()); \ No newline at end of file