Line 166: | Line 166: | ||
imageSliderIndex = (imageSliderIndex+1)%2; | imageSliderIndex = (imageSliderIndex+1)%2; | ||
} | } | ||
+ | |||
+ | $(window).scroll(function(){ | ||
+ | var f = $(document).scrollTop(); | ||
+ | if(f>=650){ | ||
+ | if(f<=seg){ | ||
+ | document.querySelector(".tips").classList.add("tips_hidden"); | ||
+ | }else{ | ||
+ | document.querySelector(".tips").classList.remove("tips_hidden"); | ||
+ | } | ||
+ | }else{ | ||
+ | document.querySelector(".tips").classList.remove("tips_hidden"); | ||
+ | } | ||
+ | } | ||
Line 318: | Line 331: | ||
− | + | <div class="tips"> | |
− | + | <img src="https://static.igem.org/mediawiki/2021/5/58/T--TecCEM--idea.png" style="width: 25%; display: inline-block" alt="idea"> | |
− | </ | + | <h4 style="display: inline-block; font-family: Nunito; font-size: 1.8rem">Tips</h4> |
+ | <p style="padding: 0; margin: 0; display: inline; font-family: Roboto; font-size: 1.1rem; text-align: center">Hover the references</p> | ||
+ | |||
+ | </div> | ||
<!--------------------- BREAKS FOR FOOTER TEMPLATE ----------------------> | <!--------------------- BREAKS FOR FOOTER TEMPLATE ----------------------> |
Revision as of 16:12, 12 October 2021
The team
Advisors
name |
name |
Principal Investigators
name |
name |
Funny moments
![idea](https://static.igem.org/mediawiki/2021/5/58/T--TecCEM--idea.png)
Tips
Hover the references