Raj Magesh (Talk | contribs) |
Rohith kms (Talk | contribs) |
||
Line 12: | Line 12: | ||
<div id="contentMain"> | <div id="contentMain"> | ||
+ | |||
+ | <img src="https://static.igem.org/mediawiki/2017/9/9d/T--IISc-Bangalore--Header--Attrib.svg" id="headerImg" /> | ||
+ | |||
<h1 id="mentors">Mentors</h1> | <h1 id="mentors">Mentors</h1> | ||
Line 45: | Line 48: | ||
changeHash: true | changeHash: true | ||
}); | }); | ||
+ | |||
+ | var height = $('#headerImg').height(); | ||
+ | window.onscroll = function() {myFunction()}; | ||
+ | |||
+ | function myFunction() { | ||
+ | if (document.body.scrollTop > height || document.documentElement.scrollTop > height) { | ||
+ | $("#inPageNav").fadeIn(200); | ||
+ | } else { | ||
+ | $("#inPageNav").fadeOut(200); | ||
+ | } | ||
+ | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 01:58, 2 November 2017
Mentors
Principal Investigators
We'd like