Line 5: | Line 5: | ||
<title>Template:2018_NAU-CHINA</title> | <title>Template:2018_NAU-CHINA</title> | ||
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NAU-CHINA/MainCSS&action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NAU-CHINA/MainCSS&action=raw&ctype=text/css" /> | ||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | var icon1 = $('#icon1'); | ||
+ | var icon2 = $('#icon2'); | ||
+ | var icon3 = $('#icon3'); | ||
+ | setInterval(function() { | ||
+ | var h = $(window).scrollTop(); | ||
+ | if (h >= 200 && h < 600) { | ||
+ | icon1.animate({ left: '10vw' }, 800); | ||
+ | icon1.animate({ top: '30vh' }, 500); | ||
+ | |||
+ | icon2.animate({ left: '10vw' }, 800); | ||
+ | icon2.animate({ top: '40vh' }, 500); | ||
+ | |||
+ | icon3.animate({ left: '10vw' }, 800); | ||
+ | icon3.animate({ top: '50vh' }, 500); | ||
+ | } | ||
+ | if (h >= 1500) { | ||
+ | icon1.animate({ top: '80vh' }, 500); | ||
+ | icon1.animate({ left: '35vw' }, 800); | ||
+ | |||
+ | icon2.animate({ top: '80vh' }, 500); | ||
+ | icon2.animate({ left: '45vw' }, 800); | ||
+ | |||
+ | icon3.animate({ top: '80vh' }, 500); | ||
+ | icon3.animate({ left: '55vw' }, 800); | ||
+ | } | ||
+ | }, 100); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | |||
<style> | <style> |
Revision as of 09:47, 17 October 2018
MOSFET