Team:Heidelberg/Single

From 2010.igem.org

(Difference between revisions)
(New page: {{:Team:Heidelberg/Top}} {{:Team:Heidelberg/Key}} <html> <style type="text/css"> #contenttable { position:relative; width:975px; top:-63px; border-style:none; border-spacing:0; ver...)
Line 246: Line 246:
</style>
</style>
 +
 +
<script type="text/javascript">
 +
removesqBracket = function() {
 +
 +
var arr = document.getElementsByTagName("span");
 +
var count = arr.length;
 +
 +
for (var i=0;i<count;i++) {
 +
var arri = arr[i];
 +
 +
if(arri.className== "editsection") {
 +
var arritext = arri.innerHTML
 +
arritext = arritext.replace(/^\[/, "");
 +
document.getElementsByTagName("span")[i].innerHTML = arritext.replace(/\]$/, "");
 +
}
 +
}}
 +
window.onload = removesqBracket;
 +
</script>
 +
</html>
</html>

Revision as of 22:54, 26 October 2010