mimikolaj

klejgej

Feb 17th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.36 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <title>FrozenTeam | Home</title>
  4. <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Aclonica" >
  5. <link rel="shortcut icon" href="http://www.iconj.com/ico/y/3/y3j37ltkir.ico" type="image/x-icon" />
  6.  
  7.  
  8.  
  9. <!-- Style section -->
  10.  
  11. <style>
  12. h1, h4 {
  13. text-align: center;
  14. color: white;
  15. }
  16. .news {
  17. background:#29293D;
  18. left:5%;
  19. padding-left:50px;
  20. padding-right:50px;
  21. width:80%;
  22. border:2px solid;
  23. border-radius:25px;
  24. color:white;
  25. position:absolute;
  26. display:block;
  27. font-family: Aclonica;
  28. text-align:left
  29. }
  30. p.ser {
  31. display: inline;
  32. margin-top: 0;
  33. margin-bottom: 0;
  34. margin-left: 10px;
  35. margin-right: 10px;
  36. color: white;
  37. }
  38. body {
  39. cursor:default;
  40. user-select=none;
  41. font-family: Aclonica;
  42. background: #000014;
  43. margin: 0;
  44. padding: 0;
  45. }
  46. #clicker {
  47. border: 2px solid #a1a1a1;
  48. padding: 10px 45px;
  49. background: #dddddd;
  50. width: 110px;
  51. border-radius: 20px;
  52. }
  53. #loot {
  54. border: 2px solid #a1a1a1;
  55. padding: 10px 45px;
  56. background: #dddddd;
  57. width: 110px;
  58. border-radius: 20px;
  59. }
  60. </style>
  61.  
  62.  
  63.  
  64. <!-- Script section -->
  65.  
  66. <script>
  67.  
  68. var epici = 0;
  69. var legendaryi = 0;
  70. var rarei = 0;
  71. var uncommoni = 0;
  72. var commoni = 0;
  73.  
  74.  
  75. function togglehome() {
  76. document.getElementById('randomer').style.display = "none";
  77. document.getElementById('engine').style.display = "none";
  78. document.getElementById('home').style.display = "block";
  79. }
  80.  
  81.  
  82. function togglerandomer() {
  83. document.getElementById('randomer').style.display = "block";
  84. document.getElementById('engine').style.display = "none";
  85. document.getElementById('home').style.display = "none";
  86. }
  87.  
  88.  
  89. function toggleengine() {
  90. document.getElementById('engine').style.display = "block";
  91. document.getElementById('randomer').style.display = "none";
  92. document.getElementById('home').style.display = "none";
  93. }
  94.  
  95.  
  96. function toggle(id) {
  97. var element = document.getElementById(id);
  98. if (element) {
  99. var display = element.style.display;
  100. if (display == "none") {
  101. element.style.display = "block";
  102. } else {
  103. element.style.display = "none";
  104. }}}
  105.  
  106.  
  107. function RandomItemBasic(lex) {
  108. chance = Math.floor((Math.random() * 10000) +1);
  109. if (chance == 1) {
  110. document.getElementById(lex).innerHTML = "Holo";
  111. document.getElementById(lex).style.border = "#CC7A29 solid";
  112. document.getElementById(lex).style.background = "#FFA347";
  113. epici += 1;
  114. } else
  115. if (chance >= 2 && chance <= 20) {
  116. var choosel = ['Bigos','Ketchup'];
  117. var randoml = Math.floor(Math.random()*choosel.length);
  118. document.getElementById(lex).innerHTML = choosel[randoml];
  119. document.getElementById(lex).style.border = "#CCCC52 solid";
  120. document.getElementById(lex).style.background = "#FFFFC2";
  121. legendaryi += 1;
  122. } else
  123. if (chance >= 21 && chance <= 100) {
  124. var chooser = ['Ice','Drugs'];
  125. var randomr = Math.floor(Math.random()*chooser.length);
  126. document.getElementById(lex).innerHTML = chooser[randomr];
  127. document.getElementById(lex).style.border = "purple solid";
  128. document.getElementById(lex).style.background = "plum";
  129. rarei += 1;
  130. } else
  131. if (chance >= 101 && chance <= 1000) {
  132. document.getElementById(lex).innerHTML = 'Rolls';
  133. document.getElementById(lex).style.border = "green solid";
  134. document.getElementById(lex).style.background = "lime";
  135. uncommoni += 1;
  136. } else
  137. if (chance >= 1001 && chance <= 10000) {
  138. var choosec = ['Soup','Papper','Cheese','Onion'];
  139. var randomc = Math.floor(Math.random()*choosec.length);
  140. document.getElementById(lex).innerHTML = choosec[randomc];
  141. document.getElementById(lex).style.border = "grey solid";
  142. document.getElementById(lex).style.background = "white";
  143. commoni += 1;
  144. }
  145. }
  146. </script>
  147.  
  148.  
  149.  
  150. <!-- Body section -->
  151.  
  152. <body>
  153. <div onmousedown="return false;" onselectstart="return false;">
  154.  
  155. <div style="text-shadow: 0px 0px 8px #6666E0;width:100%;background:linear-gradient(#00001F,#000000);height:120px;color:#007AAC;position:absolute;top:0px;left:0px;right:0px;font-size:37px;font-family: Aclonica">
  156. <img alt="logo" src="http://i.imgur.com/8fNjcyM.png" style="width:120px;height:120px;float:left">
  157. <div><img src="http://i.imgur.com/qEezPyL.png" style="padding-left:10px;width:60px;height:60px;top:15px;padding-right:30px;float:right;position:relative" onclick="toggleengine()"><p style="font-size:12px;font-family: Aclonica;text-align:center;top:65px;width:60px;position:absolute;right:30px">Clicker<br>Engine</p></div>
  158. <div><img src="http://i.imgur.com/l8Rrk5s.png" style="padding-left:10px;width:60px;height:60px;top:15px;float:right;position:relative" onclick="togglerandomer()"><p style="font-size:12px;font-family: Aclonica;text-align:center;top:65px;width:60px;position:absolute;right:100px">&nbsp;Random<br>Symulator</p></div>
  159. <div><img src="http://i.imgur.com/xvFC6c3.png" style="padding-left:10px;width:60px;height:60px;top:15px;float:right;position:relative"><p style="font-size:12px;font-family: Aclonica;text-align:center;top:72px;width:60px;position:absolute;right:170px">Projects</p></div>
  160. <div><img src="http://i.imgur.com/ox6wMvY.png" style="padding-left:10px;width:60px;height:60px;top:15px;float:right;position:relative"><p style="font-size:12px;font-family: Aclonica;text-align:center;top:72px;width:60px;position:absolute;right:240px">About</p></div>
  161. <div><img src="http://i.imgur.com/ePyjhp8.png" style="padding-left:10px;width:60px;height:60px;top:15px;float:right;position:relative" onclick="togglehome()"><p style="font-size:12px;font-family: Aclonica;text-align:center;top:72px;width:60px;position:absolute;right:310px">Home</p></div>
  162. <br>
  163. FrozenTeam.pl
  164. </div>
  165. <div style="width:100%;background:#5C85FF;height:1px;position:absolute;top:121px;left:0px;right:0px"></div>
  166.  
  167. <div id="home">
  168. <div style="top:380px" class="news"><p style="font-size:30px;text-align:left">Website Update! (v.1)<b style="font-size:15px;color:grey"> (21 II 2015)</b></p>Explore site with new features:<br>- Clicker Engine v.1.0<br>- Tabs now work good<br>- Footer has been removed<br><br></div>
  169. <div style="top:140px" class="news"><p style="font-size:30px;text-align:left">Website Update! (v.2)<b style="font-size:15px;color:grey"> (24 II 2015)</b></p>Explore our site with new features:<br>- Clicker Engine >> extra text boxes removed<br>- Header is now smaller<br>- Unboxing packs simulator v.1.3<br>&nbsp&nbsp&#8226; New generation code<br>&nbsp&nbsp&#8226; List has been changed to stats - check how many specific item rarity you get!<br><br></div>
  170. </div>
  171.  
  172.  
  173. <div id="randomer" style="position:absolute;top:140px;width:100%;display:none">
  174. <h1 align="center" style="color:white">× Unboxing Packs Symulator v.1.3 ×</h1>
  175. <h3 align="center" style="color:white">&#8226; Test your luck at unboxing &#8226;</h3>
  176. <h4 align="center" style="color:white">&#8226; Common - White | Uncommon - Green | Rare - Purple | Legendary - Yellow | Epic - Gold &#8226;</h4>
  177. <hr>
  178. <p id="list" style="display:none;text-align:center;color:white"></p>
  179. <div id="clicker" style="text-align:center;color:grey;margin-left:auto;margin-right:auto" onClick="RandomItemBasic('text1');RandomItemBasic('text2');RandomItemBasic('text3');document.getElementById('list').innerHTML = 'Common: ' + commoni + '<br>Uncommon: ' + uncommoni + '<br>Rare: ' + rarei + '<br>Legendary: ' + legendaryi + '<br>Epic: ' + epici">Open Pack<br>(3 items)
  180. </div>
  181. <div id="loot" style="margin-left:auto;margin-right:auto">
  182. <p style="text-align:center;width:110px" id="text1"></p>
  183. <p style="text-align:center;width:110px" id="text2"></p>
  184. <p style="text-align:center;width:110px" id="text3"></p>
  185. </div>
  186. <hr>
  187. <p onclick="toggle('list');toggle('loot');toggle('clicker')" style="text-align:center;color:white"><cite style="font-size:1.25em"><b>Unboxing Packs</b></cite> by mimikolaj | Made in 2015 | <b>#FrozenTeam</b><br><sup>&#8226; click here to check list of items / change back to opening &#8226;</sup><br><sub>Still want more? Subscribe on Youtube: themimikolaj</sub></p>
  188. </div>
  189. </div>
  190. <div id="engine" style="position:absolute;top:140px;width:100%;display:none;font-family: Aclonica;text-align:center;color:white">
  191. <h1>&#8226; Clicker Engine v.1.0 &#8226;</h1>
  192. <h4>| Create simple clicker game with just text! |</h4>
  193. <hr>
  194. <h3>Name of drop item: </h3>
  195. <input style="width:300px" placeholder="Example: Cookies" type="text" id="text1e"><br>
  196. <h3>Image of clicked item: </h3>
  197. <input style="width:300px" placeholder="Example: http://i.imgur.com/r381UmW.png" type="text" id="text2e"><br>
  198. <h3>Starting value of drop item: </h3>
  199. <input style="width:300px" placeholder="Example: 0" type="text" id="text3e"><br>
  200. <h3>Drop per click: </h3>
  201. <input style="width:300px" placeholder="Example: 1" type="text" id="text4e"><br><br>
  202. <input type="button" if="submit" value="Submit" style="width:200px;height:50px" onclick="drop = document.getElementById('text1e').value; imageclicker = document.getElementById('text2e').value; dropstarter = document.getElementById('text3e').value; get = document.getElementById('text4e').value; document.getElementById('Texte').innerHTML = drop + ': ' + dropstarter; dropstarter = Number(dropstarter); get = Number(get); document.getElementById('obraz').src = imageclicker">
  203. <p><cite style="font-size: 1.55em"><b>Clicker Engine</b></cite> by mimikolaj; Made in 2015 <b>#FrozenTeam</b></p>
  204. <hr>
  205. <p id="Texte"></p>
  206. <img id="obraz" width="256px" height="256px" onclick="dropstarter += get;document.getElementById('Texte').innerHTML = drop + ': ' + dropstarter; document.title = drop + ': ' + dropstarter + ' | FrozenTeam'">
  207. </div>
  208. </body>
  209. </html>
Advertisement
Add Comment
Please, Sign In to add comment