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