Quellcode durchsuchen

hacking for the demo

Kevin Heinicke vor 10 Jahren
Ursprung
Commit
98e929298c
3 geänderte Dateien mit 5 neuen und 7 gelöschten Zeilen
  1. 2 2
      css/style.css
  2. 3 4
      index.html
  3. 0 1
      js/script.js

+ 2 - 2
css/style.css

@@ -2,13 +2,13 @@ body {
     background: #144503;
     padding: 0px;
     margin: 0px;
+    overflow-y: hidden;
 }
 
 #demoCanvas {
-    margin: 40px auto 0px auto;
+    margin: 50px auto 0px auto;
     padding: 0px auto;
     background: #1F2921;
-    overflow: hidden;
 }
 
 /* .newsticker	 {

+ 3 - 4
index.html

@@ -68,17 +68,16 @@
 	</article>
 </div-->
 
-<div>
-	<!--canvas id="newsticker">alternate content</canvas-->
+<!--<div>
+  canvas id="newsticker">alternate content</canvas>
 	<article class="newsticker">
   	Here will be presented useful information about particles... =)
   	</article>
-</div>
+</div>-->
 
 	
 	<div>
 	<canvas id="demoCanvas" width="500" heigth="500">
-		alternate content
 	</canvas>
 	</div>
 </body>

+ 0 - 1
js/script.js

@@ -31,7 +31,6 @@ $(function(){
  
   // Callback function references the event target and adds the 'swipe' class to it
   function swipeHandler( event ){
-    event.preventDefault();
     // $( event.target ).addClass( "swipe" );
     var direction = {x: 0, y: 0};
     var start = event.swipestart.coords;