Template:Team:Macquarie Australia/TopNavBar

From 2014.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 55: Line 55:
});
});
-
$('a[href^="#"]').click(function() {
 
-
var target = $(this.hash);
 
-
if (target.length == 0) target = $('a[name="' + this.hash.substr(1) + '"]');
 
-
if (target.length == 0) target = $('html');
 
-
$('html, body').animate({ scrollTop: target.offset().top-100 }, 1000);
 
-
return false;
 
-
});
 
});
});
</script>
</script>
Line 110: Line 103:
<li><a href="https://2014.igem.org/Team:Macquarie_Australia/Outreach/SponsorSupport">Sponsorship Support</a></li>
<li><a href="https://2014.igem.org/Team:Macquarie_Australia/Outreach/SponsorSupport">Sponsorship Support</a></li>
<li><a href="https://2014.igem.org/Team:Macquarie_Australia/Outreach/Law">SynBio & AUS Law</a></li>
<li><a href="https://2014.igem.org/Team:Macquarie_Australia/Outreach/Law">SynBio & AUS Law</a></li>
-
<li><a href="https://2014.igem.org/Team:Macquarie_Australia/Outreach/Ethics">Ethics</a></li>
 
</ul>
</ul>
</li>
</li>

Latest revision as of 01:47, 16 October 2014