Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. <html>
  2. <heade>
  3. <style>
  4. body {
  5. font-family: Verdana, Geneva, sans-serif;
  6. font-size: 1.2em;
  7. margin: 0 auto;
  8. max-width: 960px;
  9. padding: 40px 10px;
  10. line-height: 1.65em;
  11. background-image: url(1016453-minecraft-background-1920x1080-720p.jpg);
  12. height: 100vh;
  13. background-size: cover;
  14. background-position: center ;
  15.  
  16. color: #fff;
  17. font-weight: 300;
  18. }
  19.  
  20. h1 {
  21. text-align: center;
  22. margin: 20% 0 5% 0;
  23. font-size: 60;
  24. }
  25.  
  26. #wordbox {
  27. /*opacity: 0;*/
  28. margin: 30px auto 0;
  29. display: block;
  30. width: 300px;
  31. height: 40px;
  32. font-size: 30px;
  33. text-align: center;
  34. background: #fff;
  35. border-radius: 6px;
  36. color: #black;
  37. transition: 1s linear;
  38. }
  39.  
  40. #button {
  41. background: #0b7fba;
  42. border: 0;
  43. color: #fff;
  44. font-size: 20px;
  45. padding: 1em 2em;
  46. cursor: pointer;
  47. margin: 0 auto 60px;
  48. display: block;
  49. text-align: center;
  50. border-radius: 6px;
  51. font-weight: bold;
  52. }
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. </style>
  60.  
  61. <script>
  62.  
  63. var NumberOfWords = 28
  64.  
  65. var words = new BuildArray(NumberOfWords)
  66.  
  67. // Use the following variables to
  68. // define your random words:
  69. words[1] = "escapology"
  70. words[2] = "brightwork"
  71. words[3] = "verkrampte"
  72. words[4] = "protectrix"
  73. words[5] = "nudibranch"
  74. words[6] = "grandchild"
  75. words[7] = "newfangled"
  76. words[8] = "flugelhorn"
  77. words[9] = "mythologer"
  78. words[10] = "pluperfect"
  79. words[11] = "jellygraph"
  80. words[12] = "quickthorn"
  81. words[13] = "rottweiler"
  82. words[14] = "technician"
  83. words[15] = "cowpuncher"
  84. words[16] = "middlebrow"
  85. words[17] = "jackhammer"
  86. words[18] = "triphthong"
  87. words[19] = "wunderkind"
  88. words[20] = "dazzlement"
  89. words[21] = "jabberwock"
  90. words[22] = "witchcraft"
  91. words[23] = "pawnbroker"
  92. words[24] = "thumbprint"
  93. words[25] = "motorcycle"
  94. words[26] = "cryptogram"
  95. words[27] = "torchlight"
  96. words[28] = "bankruptcy"
  97.  
  98. function BuildArray(size){
  99. this.length = size
  100. for (var i = 1; i <= size; i++){
  101. this[i] = null}
  102. return this
  103. }
  104.  
  105. function PickRandomWord(frm) {
  106. // Generate a random number between 1 and NumberOfWords
  107. var rnd = Math.ceil(Math.random() * NumberOfWords)
  108.  
  109. // Display the word inside the text box
  110. frm.WordBox.value = words[rnd]
  111. }
  112.  
  113. </script>
  114. </heade>
  115.  
  116. <body>
  117. <header class="HH">
  118.  
  119. </header>
  120.  
  121.  
  122. <h1>الحصول على حساب ماين كرافت</h1>
  123.  
  124. <FORM NAME="WordForm">
  125. <INPUT TYPE=TEXT NAME="WordBox" id="wordbox"><BR>
  126. <INPUT TYPE=BUTTON VALUE="Generate" onClick="PickRandomWord(document.WordForm);" id="button">
  127. </FORM>
  128.  
  129. </body>
  130. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement