Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 165: | Line 165: | ||
$('.sponsorfloat a').css('color', linkcolorsarray[thispagenumber]); | $('.sponsorfloat a').css('color', linkcolorsarray[thispagenumber]); | ||
$('.floatbox *').replaceText(/(Bba\_)/gi, ''); | $('.floatbox *').replaceText(/(Bba\_)/gi, ''); | ||
- | $('.floatbox *').replaceText(/([A-Z]\d{4,})/gi, '<a href="http://partsregistry.org/Part:BBa_$1" class="partsreglink">BBa_$1</a>'); | + | $('.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 23:37, 16 September 2011
`