diff --git a/blob-animation.js b/blob-animation.js index e69de29..f871faa 100644 --- a/blob-animation.js +++ b/blob-animation.js @@ -0,0 +1,21 @@ +$(document).ready(function () { + var height1 = $("#eins").height (); + $(window).scroll(function () { + if (pos+600 >= height1){ + $("#blobs").css ({ + 'top': '1000px', + 'right': '1000px', + /*'animation': 'move-down-1 5s'*/ + }) + $("blobs").animate ({'top': '1000px', 'right': '1000px'}, 5000) + } else { + $("#blobs").css ({ + 'top': '0px', + 'right': '0px', + }) + $("blobs").animate ({'top': '0px', 'right': '0px'}, 5000) + } + } + ) + } +) \ No newline at end of file diff --git a/home.html b/home.html deleted file mode 100644 index 4264f8e..0000000 --- a/home.html +++ /dev/null @@ -1,13 +0,0 @@ - - -
-*die in Grötzingen entwickelt wurde
+