Allen850413 (Talk | contribs) |
|||
Line 43: | Line 43: | ||
}); | }); | ||
}); | }); | ||
− | + | // The function actually applying the offset | |
− | + | function offsetAnchor() { | |
− | + | if (location.hash.length !== 0) { | |
− | + | window.scrollTo(window.scrollX, window.scrollY - 90); | |
− | + | } | |
− | }) | + | } |
+ | |||
+ | // Captures click events of all <a> elements with href starting with # | ||
+ | $(document).on('click', 'a[href^="#"]', function(event) { | ||
+ | // Click events are captured before hashchanges. Timeout | ||
+ | // causes offsetAnchor to be called after the page jump. | ||
+ | window.setTimeout(function() { | ||
+ | offsetAnchor(); | ||
+ | }, 0); | ||
+ | }); | ||
+ | |||
+ | // Set the offset when entering page with hash present in the url | ||
+ | window.setTimeout(offsetAnchor, 0); | ||
+ | |||
+ | $(document).scroll(function () { // remove "$" | ||
+ | var y = $(this).scrollTop(); | ||
+ | if (y > 300) { | ||
+ | $('.indicator').fadeIn(); | ||
+ | } | ||
+ | else { | ||
+ | $('.indicator').fadeOut(); | ||
+ | } | ||
+ | }); | ||
</script> | </script> | ||
Line 124: | Line 146: | ||
</header> | </header> | ||
+ | <div class="indicator"> | ||
+ | |||
+ | <div class="pointerProject" id="2"><a href="#ca1">Bronze Medal</a></div> | ||
+ | <div class="pointerProject" id="3"><a href="#ca2">Sliver Medal</a></div> | ||
+ | <div class="pointerProject" id="4"><a href="#ca3">Gold Medal</a></div> | ||
+ | </div> | ||
<div class="backgroundAboutUs"> | <div class="backgroundAboutUs"> | ||
<div class="photomedal"></div> | <div class="photomedal"></div> | ||
Line 130: | Line 158: | ||
<div class="content"> | <div class="content"> | ||
<p class="first">Medal</p><br><br> | <p class="first">Medal</p><br><br> | ||
− | <p class="second">Bronze Medal Achievements</p> | + | <p class="second" id="ca1">Bronze Medal Achievements</p> |
<div class="medal_bronze"><p class="second">Registration and Giant Jamboree Attendence</p><p class="description">We had registered CCU Taiwan for iGEM, and had the summer as our great iGEM season.</p></div> | <div class="medal_bronze"><p class="second">Registration and Giant Jamboree Attendence</p><p class="description">We had registered CCU Taiwan for iGEM, and had the summer as our great iGEM season.</p></div> | ||
<div class="medal_bronze"><p class="second">Competition Deliverables</p><p class="description"> We had completed all the competition deliverables.</p></div> | <div class="medal_bronze"><p class="second">Competition Deliverables</p><p class="description"> We had completed all the competition deliverables.</p></div> | ||
<div class="medal_bronze"><p class="second">Attributions</p><p class="description">We had written the Team Members (Link) and Attributions (Link) in our wiki page.</p></div> | <div class="medal_bronze"><p class="second">Attributions</p><p class="description">We had written the Team Members (Link) and Attributions (Link) in our wiki page.</p></div> | ||
− | <div class="medal_bronze"><p class="second">Characterization / Contribution</p><p class="description">We had completed all experiments of Interlab(link).</p></div> | + | <div class="medal_bronze"><p class="second">Characterization / Contribution</p><p class="description">We had completed all experiments of Interlab(link).</p></div><br><br> |
− | <p class="second"><br>Silver Medal Achievements</p> | + | <p class="second" id="ca2"><br>Silver Medal Achievements</p> |
<div class="medal_silver"><p class="second">Validated Part /Validated Contribution</p><p class="description">We had allowed the rule to submit our biobricks.</p></div> | <div class="medal_silver"><p class="second">Validated Part /Validated Contribution</p><p class="description">We had allowed the rule to submit our biobricks.</p></div> | ||
<div class="medal_silver"><p class="second">Collaboration</p><p class="description">We had collaborated with other registered iGEM teams, see more details in Collaborations (Link).</p></div> | <div class="medal_silver"><p class="second">Collaboration</p><p class="description">We had collaborated with other registered iGEM teams, see more details in Collaborations (Link).</p></div> | ||
<div class="medal_silver" style="height:25vh!important;"><p class="second">Human Practice</p><p class="description">The action we took in Human Practice were making our project go well.<br> | <div class="medal_silver" style="height:25vh!important;"><p class="second">Human Practice</p><p class="description">The action we took in Human Practice were making our project go well.<br> | ||
− | Found more detail in Human Practice(Link).</p></div> | + | Found more detail in Human Practice(Link).</p></div><br><br> |
− | <p class="second"><br>Gold Medal Achievements</p> | + | <p class="second" id="ca3"><br>Gold Medal Achievements</p> |
<div class="medal_gold" style="height:30vh!important;"><p class="second">Integrated Human Practice</p><p class="description">We had contacted with experts and gained lots of advices about improving our production line,<br> we also visited politician to issue about environmental protect. <br>And the details are in the Integrated Human Pratice(link).</p></div> | <div class="medal_gold" style="height:30vh!important;"><p class="second">Integrated Human Practice</p><p class="description">We had contacted with experts and gained lots of advices about improving our production line,<br> we also visited politician to issue about environmental protect. <br>And the details are in the Integrated Human Pratice(link).</p></div> | ||
<div class="medal_gold"><p class="second">Model Your Project</p><p class="description">We had designed some Models(Link) to make our project progress more smoothly. </p></div> | <div class="medal_gold"><p class="second">Model Your Project</p><p class="description">We had designed some Models(Link) to make our project progress more smoothly. </p></div> |
Revision as of 21:06, 14 October 2018
Medal
Bronze Medal Achievements
Registration and Giant Jamboree Attendence
We had registered CCU Taiwan for iGEM, and had the summer as our great iGEM season.
Competition Deliverables
We had completed all the competition deliverables.
Attributions
We had written the Team Members (Link) and Attributions (Link) in our wiki page.
Characterization / Contribution
We had completed all experiments of Interlab(link).
Silver Medal Achievements
Validated Part /Validated Contribution
We had allowed the rule to submit our biobricks.
Collaboration
We had collaborated with other registered iGEM teams, see more details in Collaborations (Link).
Human Practice
The action we took in Human Practice were making our project go well.
Found more detail in Human Practice(Link).
Gold Medal Achievements
Integrated Human Practice
We had contacted with experts and gained lots of advices about improving our production line,
we also visited politician to issue about environmental protect.
And the details are in the Integrated Human Pratice(link).
Model Your Project
We had designed some Models(Link) to make our project progress more smoothly.
Improve a Previous Part or Project
We had completed improved part(link).
Demonstration of Your Work
Our production can demonstrate(link) in standard solution.