Advertisement
SailorFini

HTML Section of Website

Aug 15th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 10.31 KB | None | 0 0
  1.  
  2. <head>
  3.   <script type="text/javascript">
  4. // <![CDATA[
  5. var colour="#00baff";
  6. var sparkles=120;
  7.  
  8. /****************************
  9. *  Tinkerbell Magic Sparkle *
  10. * (c) 2005 mf2fm web-design *
  11. *  http://www.mf2fm.com/rv  *
  12. * DON'T EDIT BELOW THIS BOX *
  13. ****************************/
  14. var x=ox=400;
  15. var y=oy=300;
  16. var swide=800;
  17. var shigh=600;
  18. var sleft=sdown=0;
  19. var tiny=new Array();
  20. var star=new Array();
  21. var starv=new Array();
  22. var starx=new Array();
  23. var stary=new Array();
  24. var tinyx=new Array();
  25. var tinyy=new Array();
  26. var tinyv=new Array();
  27.  
  28. window.onload=function() { if (document.getElementById) {
  29.  var i, rats, rlef, rdow;
  30.  for (var i=0; i<sparkles; i++) {
  31.    var rats=createDiv(3, 3);
  32.    rats.style.visibility="hidden";
  33.    document.body.appendChild(tiny[i]=rats);
  34.    starv[i]=0;
  35.    tinyv[i]=0;
  36.    var rats=createDiv(5, 5);
  37.    rats.style.backgroundColor="transparent";
  38.    rats.style.visibility="hidden";
  39.    var rlef=createDiv(1, 5);
  40.    var rdow=createDiv(5, 1);
  41.    rats.appendChild(rlef);
  42.    rats.appendChild(rdow);
  43.    rlef.style.top="2px";
  44.    rlef.style.left="0px";
  45.    rdow.style.top="0px";
  46.    rdow.style.left="2px";
  47.    document.body.appendChild(star[i]=rats);
  48.  }
  49.  set_width();
  50.  sparkle();
  51. }}
  52.  
  53. function sparkle() {
  54.  var c;
  55.  if (x!=ox || y!=oy) {
  56.    ox=x;
  57.    oy=y;
  58.    for (c=0; c<sparkles; c++) if (!starv[c]) {
  59.      star[c].style.left=(starx[c]=x)+"px";
  60.      star[c].style.top=(stary[c]=y)+"px";
  61.      star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  62.      star[c].style.visibility="visible";
  63.      starv[c]=50;
  64.      break;
  65.    }
  66.  }
  67.  for (c=0; c<sparkles; c++) {
  68.    if (starv[c]) update_star(c);
  69.    if (tinyv[c]) update_tiny(c);
  70.  }
  71.  setTimeout("sparkle()", 40);
  72. }
  73.  
  74. function update_star(i) {
  75.  if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  76.  if (starv[i]) {
  77.    stary[i]+=1+Math.random()*3;
  78.    if (stary[i]<shigh+sdown) {
  79.      star[i].style.top=stary[i]+"px";
  80.      starx[i]+=(i%5-2)/5;
  81.      star[i].style.left=starx[i]+"px";
  82.    }
  83.    else {
  84.      star[i].style.visibility="hidden";
  85.      starv[i]=0;
  86.      return;
  87.    }
  88.  }
  89.  else {
  90.    tinyv[i]=50;
  91.    tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  92.    tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  93.    tiny[i].style.width="2px";
  94.    tiny[i].style.height="2px";
  95.    star[i].style.visibility="hidden";
  96.    tiny[i].style.visibility="visible"
  97.  }
  98. }
  99.  
  100. function update_tiny(i) {
  101.  if (--tinyv[i]==25) {
  102.    tiny[i].style.width="1px";
  103.    tiny[i].style.height="1px";
  104.  }
  105.  if (tinyv[i]) {
  106.    tinyy[i]+=1+Math.random()*3;
  107.    if (tinyy[i]<shigh+sdown) {
  108.      tiny[i].style.top=tinyy[i]+"px";
  109.      tinyx[i]+=(i%5-2)/5;
  110.      tiny[i].style.left=tinyx[i]+"px";
  111.    }
  112.    else {
  113.      tiny[i].style.visibility="hidden";
  114.      tinyv[i]=0;
  115.      return;
  116.    }
  117.  }
  118.  else tiny[i].style.visibility="hidden";
  119. }
  120.  
  121. document.onmousemove=mouse;
  122. function mouse(e) {
  123.  set_scroll();
  124.  y=(e)?e.pageY:event.y+sdown;
  125.  x=(e)?e.pageX:event.x+sleft;
  126. }
  127.  
  128. function set_scroll() {
  129.  if (typeof(self.pageYOffset)=="number") {
  130.    sdown=self.pageYOffset;
  131.    sleft=self.pageXOffset;
  132.  }
  133.  else if (document.body.scrollTop || document.body.scrollLeft) {
  134.    sdown=document.body.scrollTop;
  135.    sleft=document.body.scrollLeft;
  136.  }
  137.  else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  138.    sleft=document.documentElement.scrollLeft;
  139.     sdown=document.documentElement.scrollTop;
  140.  }
  141.  else {
  142.    sdown=0;
  143.    sleft=0;
  144.  }
  145. }
  146.  
  147. window.onresize=set_width;
  148. function set_width() {
  149.  if (typeof(self.innerWidth)=="number") {
  150.    swide=self.innerWidth;
  151.    shigh=self.innerHeight;
  152.  }
  153.  else if (document.documentElement && document.documentElement.clientWidth) {
  154.    swide=document.documentElement.clientWidth;
  155.    shigh=document.documentElement.clientHeight;
  156.  }
  157.  else if (document.body.clientWidth) {
  158.    swide=document.body.clientWidth;
  159.    shigh=document.body.clientHeight;
  160.  }
  161. }
  162.  
  163. function createDiv(height, width) {
  164.  var div=document.createElement("div");
  165.  div.style.position="absolute";
  166.  div.style.height=height+"px";
  167.  div.style.width=width+"px";
  168.  div.style.overflow="hidden";
  169.  div.style.backgroundColor=colour;
  170.  return (div);
  171. }
  172. // ]]>
  173. </script>
  174.  
  175.   <font size="+4"> <H1>~ ✨ MK8 Tournament ✨ ~</H1> </font>
  176.   <font size="+1"> <H2>CHS Grand Prix and Battle Tournament</H2> </font>
  177.  
  178. <!-- Tab links -->
  179. <body>
  180.   <div class="tab">
  181.   <button class="tablinks" onclick="openCity(event, 'About')">About</button>
  182.   <button class="tablinks" onclick="openCity(event, 'Grand Prix Tourney')">Grand Prix Tourney</button>
  183.   <button class="tablinks" onclick="openCity(event, 'Battle Tourney')">Battle Tourney</button>
  184.     <button class="tablinks" onclick="openCity(event, 'Sign up')">Sign Up!</button>
  185.     <button class="tablinks" onclick="openCity(event, 'About the Organiser')">About the Organiser</button>
  186.    
  187. </div>
  188.  
  189.   </body>
  190.  
  191. <!-- Tab content -->
  192. <body>
  193.   <div id="About" class="tabcontent">
  194.   <h3>About</h3>
  195.  <h4> <p>This Semester a senior student Ella has decided to run a Mario Kart 8 Tournament. You may either choose to challenge solo or join up with a few of your friends and form a team. The competition is going to mainly focused on Mario Kart 8 Deluxe on the Switch, but if there's enough popularity we will consider running the Wii U version as well. If we do run a Wii U Tournament we will only be having a Grand Prix Tournament due to the games not as fleshed out battle mode. You will also not require the DLC the game has.
  196.  To create the best experience possible we will not split anyone based on their year group and there won't be any handicaps given. If you have any question feel free to ask questions on the sign up page! </p> </h4>
  197.   <h4>  <iframe width="1120" height="630" src="https://www.youtube.com/embed/tKlRN2YpxRE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
  198.     </h4>
  199.  
  200. </div>
  201.  
  202. <div id="Grand Prix Tourney" class="tabcontent">
  203.   <h3>Grand Prix Tourney</h3>
  204.  <h4> <p>Each match of the Grand Prix Tourney will four preselected tracks. The system we use will be a knockout system, after the four races the bottom two scoring player will be knocked out. Computers will be turned off and it will be standard 150cc.</p>
  205.    <hr>
  206.    <p> The track sets are listed below:</p>
  207.    <p>  Set 1 - Mario Stadium, Toad Harbour, Sunshine Airport, Shy Guy Falls</p>
  208.  <p>  Set 2 - Toad's Turnpike, Yoshi Valley, Cloudtop Cruise, Pirhana Plant Pipeway </p>
  209.   <p>  Set 3 - Baby Park, Melody Motorway, Electrodrome, N64 Rainbow Road </p>
  210.  <p>   If we need more sets of courses those will be decided on the day. And they will be selected from the remaining courses. </p>
  211.    <p> <img src="https://gbatemp.net/attachments/screenshot-from-2015-08-31-20-32-17-png.24260/" alt="All of the tracks from Mario Kart 8 excluding the DLC tracks" style="width:75%;" border="8"> </p> </h4>
  212. </div>
  213. <div id="Battle Tourney" class="tabcontent">
  214.   <h3>Battle Tourney</h3>
  215.   <h4> <p>Each set of battle will be teamed randomly, this may mean your team is split up. If your team is split with a majority the the smaller side will be given 1 or 2 handicap points to help you guys stay together for the next round. Each round will consisted of three random modes. The winning will have immunity from ellimination and the bottom two placing from the round will be elliminated.</p> </h4>
  216.  <h4> <iframe width="1120" height="630" src="https://www.youtube.com/embed/nKqzvVjrKOg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </h4>
  217. </div>
  218.   <div id="Sign up" class="tabcontent">
  219.   <h3>Sign Up!</h3>
  220.      <h4> <p>So seeing that you're here on this page I can only assume that you want to sign up. Right below is the Google Forums sheet you can use to sign up at the bottom of the sheet is a questions section which will be answered later on.</p> </h4>
  221.       <h4> <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSfp_iFhIYLNtae-G3ymryRD1jupVI5z4JkneeAYIgwzcTlQyg/viewform?embedded=true" width="1250" height="450" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe> </h4>
  222. </div>
  223.   <div id="About the Organiser" class="tabcontent">
  224.   <h3>About the Organiser</h3>
  225.      <h4> <p>Wow I'm actually surprised that you actually wanted to read about my Mario Kart Experience. I started playing Mario Kart back in 2010 when Nintendo was doing that promotion when they gave out free Wiis and a few games with every TV. My first main was Daisy and it was pretty good up until I got Rosalina and she became my permanent main. I wasn't that good on online with the Wii as I stayed a fairly unstable 1000VR, I was young and not that good and then the servers shut down. Nor was I any good at time trials. I recently revisited MKWii and I can see my improvement, I can actually get good placings and beat the staff ghosts. </p>
  226.        <p>Then came the Wii U, it was ok, but it was overly marketed at children and there we only a few good games and Nintendo Land is a cash grab. But the Wii U was really where I started upping my game, I discovered how to build a good vehicle and now I main a bike with through the roof acceleration and handling. I also improved greatly in online matches with my VR sitting at around 5500VR. After I bought DLC Rosalina stopped being my main in MK8 and it quickly changed to female villager and now she is the only character I can play confidently. Everything's pretty much the same on the switch. </p>
  227.        <p> Also I played the Mario Kart at a Japanese arcade machine like one time, it was great I think I placed first although I honestly have no idea. If you're Japan and are in Akihabara go to the basement level of the Taito Games Station and play it (while you're at you can also play Love Live After School activity).</p>
  228.     <img src="http://i67.tinypic.com/atvy21.jpg" alt="Female Villager and Rosalina from Mario Kart" style="width:60%;" border="8" color="white"></h4>
  229. </div>
  230.    </body>
  231.   <div class="container">
  232.  <H2> <img src="https://i2.wp.com/www.nerdunion.us/wp-content/uploads/2017/11/Switch_MarioKart8Deluxe_artwork_hero.jpg?ssl=1" alt="Promotional Art for Mario Kart 8 Deluxe" style="width:75%;" border="8"> <H2>
  233.    <p><font size="+0.5"><small>*We are in no way affiliated with Nintendo or any of it's IP's. Nor are we being paid by them. This is a small scale fan run competition.</small> </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement