Team:XMU-China/footer
From 2014.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
<div id="footer"></div> | <div id="footer"></div> | ||
</body> | </body> | ||
- | |||
</html> | </html> | ||
+ | {{:Team:XMU-China/link_add}} |
Revision as of 18:38, 16 October 2014
<script type="text/javascript"> $(document).ready(function(){ $("span").addClass(function() { var target = $(this); var value = target.text(); var value_begin = value.substr(0,4); if(value_begin == "BBa_"){ return "biobrick"; } else{ return " "; }; }); $("span.biobrick").wrap(function(){ var target = $(this); var text = target.text(); var a = "http://parts.igem.org/Part:" + text; var warpcontent = "<a target='_blank' href='" + a +"'></a>"; return warpcontent; }); }); </script>