adding labels

This commit is contained in:
Micho 2013-05-21 10:49:37 +02:00
parent adca961f40
commit 2e2e4835c6
1 changed files with 145 additions and 113 deletions

View File

@ -6,6 +6,9 @@
<script type="text/javascript" src="data.js"></script> <script type="text/javascript" src="data.js"></script>
<script type="text/javascript" src="main.js"></script> <script type="text/javascript" src="main.js"></script>
<style type="text/css"> <style type="text/css">
body {
font-family: Helvetica, Verdana, Arial, sans-serif;
}
#header { #header {
width: 980px; width: 980px;
margin: auto; margin: auto;
@ -15,18 +18,31 @@
width: 980px; width: 980px;
margin: auto; margin: auto;
} }
#canvas, #map { #container {
position: absolute;
top: 20px;
left: 0;
}
#canvas, #map, .label {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
} }
.label {
color: #00a0cc;
font-size: 11px;
max-width: 140px;
max-height: 38px;
padding: 3px;
overflow: hidden;
word-wrap: break-word;
}
#timer { #timer {
position: absolute; position: absolute;
top: 520px; top: 40px;
left: 0px; right: 20px;
font-size: 20px; font-size: 16px;
font-family: georgia; color: #888; }
}
#menu { #menu {
position: absolute; position: absolute;
top: 550px; top: 550px;
@ -40,49 +56,53 @@
} }
#slider { #slider {
position: absolute; position: absolute;
top: 600px; top: 530px;
width: 980px; left: 60px;
width: 920px;
height: 50px; height: 50px;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
} }
#sliderWrapper { #sliderWrapper {
width: 920px; width: 920px;
height: 50px; height: 50px;
overflow: scroll; overflow: hidden;
position: absolute; position: absolute;
} }
#sliderInner { #sliderInner {
width: 6120px; width: 6140px;
height: 50px; height: 50px;
background: #f7f7f7;
position: relative; position: relative;
left: -420px; left: -420px;
} }
.marker { .marker {
position: absolute; position: absolute;
left: 480px; left: 480px;
border-left: 1px solid rgba(0,0,0,0.1); border-left: 3px solid rgba(0,0,0,0.5);
height: 50px; height: 50px;
} }
.hour { .hour {
position: absolute; position: absolute;
top: 30px; top: 20px;
height: 20px; height: 30px;
border-left: 1px solid #bbb; border-left: 2px solid #ddd;
color: #888; color: #888;
font-family: Helvetica, Verdana, Arial, sans-serif;
font-size: 10px; font-size: 10px;
padding-left: 3px; padding-left: 3px;
} }
.hour.n {
top: 40px;
height: 10px;
}
.hour span { .hour span {
position: absolute; position: absolute;
bottom: 2px; top: 0px;
} }
.day { .day {
position: absolute; position: absolute;
top: 0px; top: 0px;
height: 50px; height: 50px;
color: #888; color: #888;
font-family: Helvetica, Verdana, Arial, sans-serif;
font-size: 12px; font-size: 12px;
padding-left: 3px; padding-left: 3px;
width: 100px; width: 100px;
@ -98,107 +118,119 @@
<div id="container"> <div id="container">
<img id="map" src="map.png" width="980" height="490"> <img id="map" src="map.png" width="980" height="490">
<canvas id="canvas" width="980" height="490"></canvas> <canvas id="canvas" width="980" height="490"></canvas>
<div class="label" style="left: 33px;top:210px" id="stage1"></div>
<div class="label" style="left:470px;top: 30px" id="stage2"></div>
<div class="label" style="left:150px;top:330px" id="stage3"></div>
<div class="label" style="left:340px;top:342px" id="stage4"></div>
<div class="label" style="left:550px;top:342px" id="stage5"></div>
<div class="label" style="left:740px;top:342px" id="stage6"></div>
<div class="label" style="left:780px;top:440px" id="stage7"></div>
<div class="label" style="left:320px;top:140px">Cafeteria</div>
<div class="label" style="left:850px;top:220px">Hof</div>
<div class="label" style="left:920px;top:320px">VIP</div>
<div class="label" style="left:480px;top:410px">Workshops</div>
<div class="label" style="left:570px;top:170px">Foyer</div>
</div> </div>
<div id="timer"></div> <div id="timer"></div>
<div id="slider"> <div id="slider">
<div id="sliderWrapper"> <div id="sliderWrapper">
<div id="sliderInner"> <div id="sliderInner">
<div class="hour" style="left:900px"><span>15:00</span></div> <div class="hour n" style="left:900px"><span>15:00</span></div>
<div class="hour" style="left:960px"></div> <div class="hour b" style="left:960px"></div>
<div class="hour" style="left:1020px"></div> <div class="hour n" style="left:1020px"></div>
<div class="hour" style="left:1080px"><span>18:00</span></div> <div class="hour b" style="left:1080px"><span>18:00</span></div>
<div class="hour" style="left:1140px"></div> <div class="hour n" style="left:1140px"></div>
<div class="hour" style="left:1200px"></div> <div class="hour n" style="left:1200px"></div>
<div class="hour" style="left:1260px"><span>21:00</span></div> <div class="hour b" style="left:1260px"><span>21:00</span></div>
<div class="hour" style="left:1320px"></div> <div class="hour n" style="left:1320px"></div>
<div class="hour" style="left:1380px"></div> <div class="hour n" style="left:1380px"></div>
<div class="hour" style="left:1440px"><span>0:00</span></div> <div class="hour b" style="left:1440px"><span>0:00</span></div>
<div class="hour" style="left:1500px"></div> <div class="hour n" style="left:1500px"></div>
<div class="hour" style="left:1560px"></div> <div class="hour n" style="left:1560px"></div>
<div class="hour" style="left:1620px"><span>3:00</span></div> <div class="hour b" style="left:1620px"><span>3:00</span></div>
<div class="hour" style="left:1680px"></div> <div class="hour n" style="left:1680px"></div>
<div class="hour" style="left:1740px"></div> <div class="hour n" style="left:1740px"></div>
<div class="hour" style="left:1800px"><span>6:00</span></div> <div class="hour b" style="left:1800px"><span>6:00</span></div>
<div class="hour" style="left:1860px"></div> <div class="hour n" style="left:1860px"></div>
<div class="hour" style="left:1920px"></div> <div class="hour n" style="left:1920px"></div>
<div class="hour" style="left:1980px"><span>9:00</span></div> <div class="hour b" style="left:1980px"><span>9:00</span></div>
<div class="hour" style="left:2040px"></div> <div class="hour n" style="left:2040px"></div>
<div class="hour" style="left:2100px"></div> <div class="hour n" style="left:2100px"></div>
<div class="hour" style="left:2160px"><span>12:00</span></div> <div class="hour b" style="left:2160px"><span>12:00</span></div>
<div class="hour" style="left:2220px"></div> <div class="hour n" style="left:2220px"></div>
<div class="hour" style="left:2280px"></div> <div class="hour n" style="left:2280px"></div>
<div class="hour" style="left:2340px"><span>15:00</span></div> <div class="hour b" style="left:2340px"><span>15:00</span></div>
<div class="hour" style="left:2400px"></div> <div class="hour n" style="left:2400px"></div>
<div class="hour" style="left:2460px"></div> <div class="hour n" style="left:2460px"></div>
<div class="hour" style="left:2520px"><span>18:00</span></div> <div class="hour b" style="left:2520px"><span>18:00</span></div>
<div class="hour" style="left:2580px"></div> <div class="hour n" style="left:2580px"></div>
<div class="hour" style="left:2640px"></div> <div class="hour n" style="left:2640px"></div>
<div class="hour" style="left:2700px"><span>21:00</span></div> <div class="hour b" style="left:2700px"><span>21:00</span></div>
<div class="hour" style="left:2760px"></div> <div class="hour n" style="left:2760px"></div>
<div class="hour" style="left:2820px"></div> <div class="hour n" style="left:2820px"></div>
<div class="hour" style="left:2880px"><span>0:00</span></div> <div class="hour b" style="left:2880px"><span>0:00</span></div>
<div class="hour" style="left:2940px"></div> <div class="hour n" style="left:2940px"></div>
<div class="hour" style="left:3000px"></div> <div class="hour n" style="left:3000px"></div>
<div class="hour" style="left:3060px"><span>3:00</span></div> <div class="hour b" style="left:3060px"><span>3:00</span></div>
<div class="hour" style="left:3120px"></div> <div class="hour n" style="left:3120px"></div>
<div class="hour" style="left:3180px"></div> <div class="hour n" style="left:3180px"></div>
<div class="hour" style="left:3240px"><span>6:00</span></div> <div class="hour b" style="left:3240px"><span>6:00</span></div>
<div class="hour" style="left:3300px"></div> <div class="hour n" style="left:3300px"></div>
<div class="hour" style="left:3360px"></div> <div class="hour n" style="left:3360px"></div>
<div class="hour" style="left:3420px"><span>9:00</span></div> <div class="hour b" style="left:3420px"><span>9:00</span></div>
<div class="hour" style="left:3480px"></div> <div class="hour n" style="left:3480px"></div>
<div class="hour" style="left:3540px"></div> <div class="hour n" style="left:3540px"></div>
<div class="hour" style="left:3600px"><span>12:00</span></div> <div class="hour b" style="left:3600px"><span>12:00</span></div>
<div class="hour" style="left:3660px"></div> <div class="hour n" style="left:3660px"></div>
<div class="hour" style="left:3720px"></div> <div class="hour n" style="left:3720px"></div>
<div class="hour" style="left:3780px"><span>15:00</span></div> <div class="hour b" style="left:3780px"><span>15:00</span></div>
<div class="hour" style="left:3840px"></div> <div class="hour n" style="left:3840px"></div>
<div class="hour" style="left:3900px"></div> <div class="hour n" style="left:3900px"></div>
<div class="hour" style="left:3960px"><span>18:00</span></div> <div class="hour b" style="left:3960px"><span>18:00</span></div>
<div class="hour" style="left:4020px"></div> <div class="hour n" style="left:4020px"></div>
<div class="hour" style="left:4080px"></div> <div class="hour n" style="left:4080px"></div>
<div class="hour" style="left:4140px"><span>21:00</span></div> <div class="hour b" style="left:4140px"><span>21:00</span></div>
<div class="hour" style="left:4200px"></div> <div class="hour n" style="left:4200px"></div>
<div class="hour" style="left:4260px"></div> <div class="hour n" style="left:4260px"></div>
<div class="hour" style="left:4320px"><span>0:00</span></div> <div class="hour b" style="left:4320px"><span>0:00</span></div>
<div class="hour" style="left:4380px"></div> <div class="hour n" style="left:4380px"></div>
<div class="hour" style="left:4440px"></div> <div class="hour n" style="left:4440px"></div>
<div class="hour" style="left:4500px"><span>3:00</span></div> <div class="hour b" style="left:4500px"><span>3:00</span></div>
<div class="hour" style="left:4560px"></div> <div class="hour n" style="left:4560px"></div>
<div class="hour" style="left:4620px"></div> <div class="hour n" style="left:4620px"></div>
<div class="hour" style="left:4680px"><span>6:00</span></div> <div class="hour b" style="left:4680px"><span>6:00</span></div>
<div class="hour" style="left:4740px"></div> <div class="hour n" style="left:4740px"></div>
<div class="hour" style="left:4800px"></div> <div class="hour n" style="left:4800px"></div>
<div class="hour" style="left:4860px"><span>9:00</span></div> <div class="hour b" style="left:4860px"><span>9:00</span></div>
<div class="hour" style="left:4920px"></div> <div class="hour n" style="left:4920px"></div>
<div class="hour" style="left:4980px"></div> <div class="hour n" style="left:4980px"></div>
<div class="hour" style="left:5040px"><span>12:00</span></div> <div class="hour b" style="left:5040px"><span>12:00</span></div>
<div class="hour" style="left:5100px"></div> <div class="hour n" style="left:5100px"></div>
<div class="hour" style="left:5160px"></div> <div class="hour n" style="left:5160px"></div>
<div class="hour" style="left:5220px"><span>15:00</span></div> <div class="hour b" style="left:5220px"><span>15:00</span></div>
<div class="hour" style="left:5280px"></div> <div class="hour n" style="left:5280px"></div>
<div class="hour" style="left:5340px"></div> <div class="hour n" style="left:5340px"></div>
<div class="hour" style="left:5400px"><span>18:00</span></div> <div class="hour b" style="left:5400px"><span>18:00</span></div>
<div class="hour" style="left:5460px"></div> <div class="hour n" style="left:5460px"></div>
<div class="hour" style="left:5520px"></div> <div class="hour n" style="left:5520px"></div>
<div class="hour" style="left:5580px"><span>21:00</span></div> <div class="hour b" style="left:5580px"><span>21:00</span></div>
<div class="hour" style="left:5640px"></div> <div class="hour n" style="left:5640px"></div>
<div class="day b" style="left: 0px"><span>Aufbautag</span></div> <div class="day b" style="left: 80px"><span>Aufbautag</span></div>
<div class="day n" style="left: 360px"><span>Aufbautag</span></div> <div class="day n" style="left: 440px"><span>Aufbautag</span></div>
<div class="day n" style="left: 720px"><span>Aufbautag</span></div> <div class="day n" style="left: 800px"><span>Aufbautag</span></div>
<div class="day n" style="left:1080px"><span>Aufbautag</span></div> <div class="day n" style="left:1160px"><span>Aufbautag</span></div>
<div class="day b" style="left:1440px"><span>Tag 1</span></div> <div class="day b" style="left:1520px"><span>Tag 1</span></div>
<div class="day n" style="left:1880px"><span>Tag 1</span></div> <div class="day n" style="left:1880px"><span>Tag 1</span></div>
<div class="day n" style="left:2160px"><span>Tag 1</span></div> <div class="day n" style="left:2240px"><span>Tag 1</span></div>
<div class="day n" style="left:2520px"><span>Tag 1</span></div> <div class="day n" style="left:2600px"><span>Tag 1</span></div>
<div class="day b" style="left:2880px"><span>Tag 2</span></div> <div class="day b" style="left:2960px"><span>Tag 2</span></div>
<div class="day n" style="left:3240px"><span>Tag 2</span></div> <div class="day n" style="left:3320px"><span>Tag 2</span></div>
<div class="day n" style="left:3600px"><span>Tag 2</span></div> <div class="day n" style="left:3680px"><span>Tag 2</span></div>
<div class="day n" style="left:3960px"><span>Tag 2</span></div> <div class="day n" style="left:4040px"><span>Tag 2</span></div>
<div class="day b" style="left:4320px"><span>Tag 3</span></div> <div class="day b" style="left:4400px"><span>Tag 3</span></div>
<div class="day n" style="left:4680px"><span>Tag 3</span></div> <div class="day n" style="left:4760px"><span>Tag 3</span></div>
<div class="day n" style="left:5040px"><span>Tag 3</span></div> <div class="day n" style="left:5120px"><span>Tag 3</span></div>
<div class="day n" style="left:5400px"><span>Tag 3</span></div> <div class="day n" style="left:5480px"><span>Tag 3</span></div>
</div> </div>
</div> </div>
<div class="marker"></div> <div class="marker"></div>