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> | ||
- | + | <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> | |
</html> | </html> | ||
- |
Revision as of 18:39, 16 October 2014