Difference between revisions of "Team:TU Delft/Header Test"
Line 355: | Line 355: | ||
<script> | <script> | ||
$("a[href*=#]").on('click', function(event){ | $("a[href*=#]").on('click', function(event){ | ||
− | var href = $(this).attr("href"); | + | var href = $(this).attr("https://2015.igem.org/Team:TU_Delft/InterLab"+"href"); |
if ( /(#.*)/.test(href) ){ | if ( /(#.*)/.test(href) ){ | ||
var hash = href.match(/(#.*)/)[0]; | var hash = href.match(/(#.*)/)[0]; |
Revision as of 13:14, 28 July 2015