Advertisement
Guest User

jadine hanging

a guest
Oct 24th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. <html>
  2. <head><title>Orion</title></head>
  3. <center>
  4.  
  5. <style>
  6.  
  7. p20 {font-size: 20px;
  8. font-family: Roboto;
  9. font-weight: 100;
  10. letter-spacing: 0.5px;
  11.  
  12. }
  13.  
  14. p21 {font-size: 90px;
  15. font-family: Roboto;
  16. font-weight: 100;
  17. letter-spacing: 0.5px;
  18.  
  19. }
  20.  
  21. p22 {font-size: 40px;
  22. font-family: Roboto;
  23. font-weight: 100;
  24. letter-spacing: 0.5px;
  25.  
  26. }
  27.  
  28. body {
  29. background-image: url("login background 2.png");
  30. background-size: 350px 450px;
  31. background-position: 615px 115px;
  32. background-repeat: no-repeat;
  33.  
  34. }
  35. </style>
  36. <script language = "javascript">
  37. function checkAnswer(){
  38. var name = document.getElementById('name').value;
  39. var pass = document.getElementById('pass').value;
  40.  
  41. if (name == "joe" && pass =="cat")
  42. location = 'http://google.ca';
  43. else
  44. location = 'http://yahoo.ca'; // 'wrong.html';
  45. return false;
  46. }
  47.  
  48. </script>
  49. <body>
  50. <p21>Orion</p21>
  51. <br>
  52. <br>
  53. <br>
  54. <img src="user icon blue.png" width="150" height="150">
  55. <br>
  56. <br>
  57. <p22>Login</p22>
  58. <br>
  59. <br>
  60. <table>
  61. <form onSubmit="return checkAnswer();">
  62.  
  63. <td><p20>Username:</p20></td>
  64. <td colspan="2"><input id="name" type="text" maxlength="55" class="box" autofocus />
  65. </td>
  66. </tr>
  67. <td><p20>Password:</p20></td>
  68. <td colspan="2"><input id="pass" type="password" maxlength="55" class="box" autofocus /></td>
  69. </tr>
  70. </table>
  71. <br>
  72. <img src="login button.png" onmouseover = "this.src='login button hover 2.png'" onmouseout="this.src='login button.png'" height = "40" width="150" onclick="checkAnswer()"/>
  73.  
  74.  
  75. <!--<input type="submit" class="submit" value="SUBMIT" />-->
  76.  
  77.  
  78. <!-- <form onSubmit="return checkAnswer();">
  79. <input id="answer" type="text" maxlength="55" class="box" autofocus />
  80. <input type="submit" class="submit" value="SUBMIT" />
  81. </form> -->
  82.  
  83. </body>
  84. </html>
  85.  
  86. Also for the background, for some reason it displaces on different monitors so just adjust in the CSS code. And just something that you can also add here is the code
  87.  
  88.  
  89. <html>
  90. <head><title>Orion</title></head>
  91. <center>
  92.  
  93. <style>
  94.  
  95. p20 {font-size: 20px;
  96. font-family: Roboto;
  97. font-weight: 100;
  98. letter-spacing: 0.5px;
  99.  
  100. }
  101.  
  102. p21 {font-size: 90px;
  103. font-family: Roboto;
  104. font-weight: 100;
  105. letter-spacing: 0.5px;
  106. color: white;
  107.  
  108. }
  109.  
  110. p22 {font-size: 40px;
  111. font-family: Roboto;
  112. font-weight: 100;
  113. letter-spacing: 0.5px;
  114.  
  115. }
  116.  
  117. p23 {font-size: 30px;
  118. font-family: Roboto;
  119. font-weight: 100;
  120. letter-spacing: 0.5px;
  121.  
  122. }
  123. </style>
  124. <body background="material login backround.png">
  125. <p21>Orion</p21>
  126. <br>
  127. <br>
  128. <br>
  129. <br>
  130. <br>
  131. <br>
  132. <br>
  133. <br>
  134. <br>
  135. <br>
  136. <br>
  137. <br>
  138. <br>
  139. <br>
  140. <br>
  141. <br>
  142. <br>
  143. <br>
  144. <br>
  145. <br>
  146. <br>
  147. <br>
  148. <br>
  149. <br>
  150. <br>
  151. <br>
  152. <br>
  153. <a href="computer class workshop image button version for class.html"><img src="orion button.png" onmouseover = "this.src='orion button hover.png'" onmouseout="this.src='orion button.png'" height = "70" width="250"/></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement