Template:SUSTC-Shenzhen/themeJs
From 2014.igem.org
(Difference between revisions)
Line 24: | Line 24: | ||
.attr("href","https://igem.org/Login"); | .attr("href","https://igem.org/Login"); | ||
} | } | ||
+ | |||
+ | $("nav a").each(function(ind,val){ | ||
+ | if(val.href===window.location.href) val.href="#"; | ||
+ | }); | ||
+ | |||
}; | }; | ||
+ | |||
updateNav(); | updateNav(); | ||
</script> | </script> |
Revision as of 06:47, 22 August 2014