![s1](https://static.igem.org/mediawiki/2021/0/02/T--NCKU_Tainan--intro123.png)
Line 1,453: | Line 1,453: | ||
</script> | </script> | ||
<script> | <script> | ||
− | $('. | + | $(window).scroll(testScroll); |
− | + | var viewed = false; | |
− | + | ||
− | + | function isScrolledIntoView(elem) { | |
− | + | var docViewTop = $(window).scrollTop(); | |
− | + | var docViewBottom = docViewTop + $(window).height(); | |
− | + | ||
− | + | var elemTop = $(elem).offset().top; | |
− | + | var elemBottom = elemTop + $(elem).height(); | |
+ | |||
+ | return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop)); | ||
+ | } | ||
+ | |||
+ | function testScroll() { | ||
+ | if (isScrolledIntoView($(".numbers")) && !viewed) { | ||
+ | viewed = true; | ||
+ | $('.value').each(function () { | ||
+ | $(this).prop('Counter',0).animate({ | ||
+ | Counter: $(this).text() | ||
+ | }, { | ||
+ | duration: 4000, | ||
+ | easing: 'swing', | ||
+ | step: function (now) { | ||
+ | $(this).text(Math.ceil(now)); | ||
+ | } | ||
+ | }); | ||
}); | }); | ||
− | } | + | } |
+ | } | ||
</script> | </script> | ||
Revision as of 04:46, 17 October 2021
![](https://static.igem.org/mediawiki/2021/4/48/T--NCKU_Tainan--logo_ok3.png)
MenTAUR
MenTAUR, your live's mentor
![s1](https://static.igem.org/mediawiki/2021/0/02/T--NCKU_Tainan--intro123.png)
![](https://static.igem.org/mediawiki/2021/4/48/T--NCKU_Tainan--logo_ok3.png)
![](https://static.igem.org/mediawiki/2021/4/48/T--NCKU_Tainan--logo_ok3.png)
![s1](https://static.igem.org/mediawiki/2021/9/9c/T--NCKU_Tainan--homepicture01.png)
![s1](https://static.igem.org/mediawiki/2021/4/4b/T--NCKU_Tainan--homepicture02.png)
MenTAUR
MenTAUR,your live’s mentor. We aim to provide a special solution for the above problem.Learn more on our description page!
![s1](https://static.igem.org/mediawiki/2021/c/c3/T--NCKU_Tainan--homepicture03.png)
![s1](https://static.igem.org/mediawiki/2021/8/8d/T--NCKU_Tainan--homepicture04.png)
Menble
Bubble milk tea has always been a popular drink in the world, and it comes from the land we live in, Taiwan. Learn more on our description page!
![s1](https://static.igem.org/mediawiki/2021/d/d4/T--NCKU_Tainan--homepicture05.png)
f(int)
In order to know if the bubbles could work well after eating them, we have come up with a microfluidic chip that can simulate the environment of the human intestine.Learn more on our hardware page!
![s1](https://static.igem.org/mediawiki/2021/a/a2/T--NCKU_Tainan--homepicture06.png)
![s1](https://static.igem.org/mediawiki/2021/5/51/T--NCKU_Tainan--homepicture07.png)
![s1](https://static.igem.org/mediawiki/2021/6/6e/T--NCKU_Tainan--homepicture08.png)
![s1](https://static.igem.org/mediawiki/2021/1/1c/T--NCKU_Tainan--homepicture09.png)
200
References
- Kessler RC, Bromet EJ. The Epidemiology of Depression Across Cultures. Annual Review of Public Health. 2013;34(1):119-138. doi:10.1146/annurev-publhealth-031912-114409
- Nochaiwong S, Ruengorn C, Thavorn K, et al. Global prevalence of mental health issues among the general population during the coronavirus disease-2019 pandemic: a systematic review and meta-analysis. Scientific Reports. 2021;11(1). doi:10.1038/s41598-021-89700-8