From adca961f40b75aaf928ae7400bf76cdaa89ea003 Mon Sep 17 00:00:00 2001 From: Micho Date: Tue, 21 May 2013 10:48:41 +0200 Subject: [PATCH] changing map size --- clients/anim/index.html | 8 +++++--- clients/anim/main.js | 24 +----------------------- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/clients/anim/index.html b/clients/anim/index.html index d2b860c..30faaea 100644 --- a/clients/anim/index.html +++ b/clients/anim/index.html @@ -45,7 +45,7 @@ height: 50px; } #sliderWrapper { - width: 980px; + width: 920px; height: 50px; overflow: scroll; position: absolute; @@ -95,8 +95,10 @@
- - +
+ + +
diff --git a/clients/anim/main.js b/clients/anim/main.js index 2395dd8..bb7eb02 100644 --- a/clients/anim/main.js +++ b/clients/anim/main.js @@ -2,7 +2,7 @@ var currentTime = 60*(24*1+10.4); var clients = []; var context; var width = 980; -var height = 500; +var height = 490; var gridSize = 3; var nearFieldRadius = 30; @@ -37,28 +37,6 @@ function init() { clients[index] = {point:undefined, x:0, y:0, r:0, x0:0, y0:0, r0:0, index:index, lastEvent:0}; random[index] = Math.random(); }); - - /* - var menu = $('#menu'); - for (var i = 2; i < 16; i++) { - (function () { - var time = i*6*60; - var d = Math.floor(i/4); - var h = (i % 4)*6; - var node = $('T'+d+' '+h+':00'); - node.click(function () { - currentTime = time; - jump = true; - start(); - }) - menu.append(node); - })(); - } - - var node = $('Stop'); - node.click(stop); - menu.append(node); - */ var index = -1; for (var time = -60; time <= (4*24+1)*60; time++) {