Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 163: | Line 163: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.floatbox a').css('color', linkcolorsarray[thispagenumber]); | $('.floatbox a').css('color', linkcolorsarray[thispagenumber]); | ||
- | $('.floatbox *').replaceText(/([A-Z]\d{4,})/g, '<a href="http://partsregistry.org/Part:BBa_$1" class="partsreglink">$1</a>'); | + | $('.floatbox *').replaceText(/(Bba\_)/gi, ''); |
+ | $('.floatbox *').replaceText(/([A-Z]\d{4,})/g, '<a href="http://partsregistry.org/Part:BBa_$1" class="partsreglink">Bba_$1</a>'); | ||
}); | }); | ||
</script> | </script> |
Revision as of 21:27, 16 September 2011