Advertisement
Guest User

tyler cat

a guest
Mar 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.  
  5. <link href="main.css" type="text/css" rel="stylesheet">
  6.  
  7. <link href="specifics.css" type="text/css" rel="stylesheet">
  8.  
  9. <link rel="icon" href="favicon.png">
  10.  
  11. <head>
  12.  
  13. <title>All Things Tyler!</title>
  14.  
  15. </head>
  16.  
  17. <body>
  18.  
  19.  
  20.  
  21. <div id="mySidenav" class="sidenav">
  22.  
  23. <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
  24.  
  25. <a href="./index.php" id="page">Homepage</a>
  26.  
  27. <a href="./Page 2.php">About Me</a>
  28.  
  29. <a href="./Page 3.php">Course 1: Games Development</a>
  30.  
  31. <a href="./Page 4.php">Course 2: Interactive Media</a>
  32.  
  33. <a href="./Page 5.php">Course 3: Information Technology</a>
  34.  
  35. <a href="./Page 6.php">Hobbies & Interests</a>
  36.  
  37. <a href="./Page 7.php">The Future</a>
  38.  
  39. <a href="./Page 8.php">Contact Me</a>
  40.  
  41. <a href="./JavaScriptFun.php">JavaScript Fun!</a>
  42.  
  43. </div>
  44. <div id="QL" class="QL">
  45. <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776;Quick Links!</span>
  46. </div>
  47.  
  48. <h1>Homepage!</h1>
  49.  
  50. <p>Hello. My name is Tyler and this website is all about me! A simple portfolio for any possible employers out there willing to hire me and just need to know some more about me.</p>
  51.  
  52. <script>
  53.  
  54. function openNav() {
  55.  
  56. document.getElementById("mySidenav").style.width = "250px";
  57.  
  58. document.getElementById("main").style.marginLeft = "250px";
  59.  
  60. document.body.style.backgroundColor = "rgba(0,0,0,0.1)";
  61.  
  62. }
  63.  
  64. function closeNav() {
  65.  
  66. document.getElementById("mySidenav").style.width = "0";
  67.  
  68. document.getElementById("main").style.marginLeft= "0";
  69.  
  70. document.body.style.backgroundColor = "white";
  71.  
  72. }
  73.  
  74. </script>
  75.  
  76. <script type="text/javascript">
  77.  
  78. if ( window.addEventListener ) {
  79.  
  80. var state = 0, konami = [38,38,40,40,37,39,37,39,66,65,13];
  81.  
  82. window.addEventListener("keydown", function(e) {
  83.  
  84. if ( e.keyCode == konami[state] ) state++;
  85.  
  86. else state = 0;
  87.  
  88. if ( state == 11 )
  89.  
  90. window.location = "./ILY.html";
  91.  
  92. }, true);
  93. }
  94. </script>
  95.  
  96. <p id="iframe">
  97.  
  98. <iframe width="560" height="315" src="https://www.youtube.com/embed/wZZ7oFKsKzY?autoplay=1" frameborder="0" allowfullscreen></iframe>
  99.  
  100. </p>
  101.  
  102. </body>
  103.  
  104. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement