Advertisement
JoachimWolfgang

Untitled

Mar 12th, 2017
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <style>
  6.  
  7. #wrapper {
  8. width:420px;
  9. height:650px;
  10. background-color: white;
  11. padding: 10px;
  12. border: 1px solid blue;
  13. margin: 5px;
  14. position:relative;
  15. }
  16.  
  17. #bringTitel{
  18. position: absolute;
  19. left:80px;
  20. top:5px;
  21. color: #0000FF;
  22. font-size: 25px;
  23. font-weight: bold;
  24. line-height: 1.5em;
  25.  
  26. }
  27. #wrtabelle1 {
  28. position:absolute;
  29. top:85px;
  30. left:80px;
  31. border-collapse:collapse;
  32. border:1px solid #7f7f7f;
  33. }
  34.  
  35.  
  36.  
  37. td {
  38. border:1px solid #0090E0;
  39. width:50px;
  40. height:50px;
  41. text-align:center;
  42. font-size: 24px;
  43. }
  44.  
  45. #myLevelProgress {
  46. position:absolute;
  47. left:10px;
  48. top:600px;
  49. width: 395px;
  50. height: 30px;
  51. background-color: #ddd;
  52. border:1px solid #0090E0;
  53. }
  54.  
  55. #myLevelBar { width: 0%; height: 100%;background-color:#0090E0;}
  56. #levelLabel {text-align: center; line-height: 30px; color: white;}
  57.  
  58. #myTimeProgress {
  59. position:absolute;
  60. left:10px;
  61. top:550px;
  62. width: 395px;
  63. height: 30px;
  64. background-color: #ddd;
  65. border:1px solid #0090E0;
  66. }
  67.  
  68. #myTimeBar {width: 0%;height: 100%; background-color: #FF0000;}
  69. #myTimeLabel { text-align: center;line-height: 30px;color: white;}
  70.  
  71. #TimeLabel {
  72. text-align: center; /* */
  73. line-height: 30px; /* */
  74. color: blue;
  75. padding-left:220px;
  76. }
  77. #LevelLabel {
  78. text-align: center;
  79. line-height: 30px;
  80. color: blue;
  81. padding-left:220px;
  82. }
  83. p{
  84. position:absolute;
  85. color: red;
  86. font-size: 20px;
  87. font-weight: bold;
  88. line-height: 1.5em;
  89. left:10px;
  90. top:430px;
  91. }
  92.  
  93. #btnnr1 {
  94. position:absolute;
  95. top: 480px;
  96. left:80px;
  97. background-color: #00AFFF; /* Green */
  98. border: 1 solid #0020FF;
  99. color: white;
  100. padding: 2px 2px;
  101. text-align: center;
  102. text-decoration: none;
  103. display: inline-block;
  104. font-size: 16px;
  105. }
  106.  
  107. #btnnr2 {
  108. position:absolute;
  109. top: 480px;
  110. left:220px;
  111. background-color: #00AFFF; /* Green */
  112. border: 1 solid #0020FF;
  113. color: white;
  114. padding: 2px 2px;
  115. text-align: center;
  116. text-decoration: none;
  117. display: inline-block;
  118. font-size: 16px;
  119. }
  120.  
  121. .btn-group .button {
  122. float:left;
  123. margin-top:380px;
  124. background-color: #00AFFF;
  125. border: none;
  126. color: white;
  127. padding: 2px 2px;
  128. text-align: center;
  129. text-decoration: none;
  130. display: inline-block;
  131. font-size: 16px;
  132. cursor: pointer;
  133. width:40px;
  134. height:40px;
  135.  
  136. }
  137.  
  138. .btn-group .button:hover {
  139. background-color: red;
  140. }
  141. .button{
  142. border: 1 solid black;
  143. }
  144. </style>
  145. </head>
  146. <body onLoad="window.firstStart(7,7)">
  147.  
  148. <div id="wrapper">
  149.  
  150. <p id="bringTitel">Arbeitsspeicher Übung 3</p>
  151.  
  152. <table id="wrtabelle1"> </table>
  153.  
  154.  
  155. <input type="button" class = "button1" id="btnnr1" value="Start mit Level 1" onclick="secondStart(anzahlZeilen,anzahlSpalten)" />
  156. <input type="button" class = "button1" id="btnnr2" value="Nächstes Level" onclick="nextLevel()" />
  157.  
  158.  
  159.  
  160. <div id="myLevelProgress">
  161. <div id="myLevelBar">
  162. <div id="LevelLabel">Level</div>
  163. </div>
  164. </div>
  165.  
  166. <div id="myTimeProgress">
  167. <div id="myTimeBar">
  168. <div id="TimeLabel">Zeit</div>
  169. </div>
  170. </div>
  171.  
  172. <br>
  173. <p id="suchZahl"></p>
  174.  
  175.  
  176. <div class ="btn-group">
  177. <button class="button" id="btn0" onclick="giveNumber(0)">0</button>
  178. <button class="button" id="btn1" onclick="giveNumber(1)">1</button>
  179. <button class="button" id="btn2" onclick="giveNumber(2)">2</button>
  180. <button class="button" id="btn3" onclick="giveNumber(3)">3</button>
  181. <button class="button" id="btn4" onclick="giveNumber(4)">4</button>
  182. <button class="button" id="btn5" onclick="giveNumber(5)">5</button>
  183. <button class="button" id="btn6" onclick="giveNumber(6)">6</button>
  184. <button class="button" id="btn7" onclick="giveNumber(7)">7</button>
  185. <button class="button" id="btn8" onclick="giveNumber(8)">8</button>
  186. <button class="button" id="btn9" onclick="giveNumber(9)">9</button>
  187. </div>
  188. </div>
  189.  
  190.  
  191. </body>
  192. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement