Team:Heidelberg/Top

From 2010.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 107: Line 107:
</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>
 
</head>
</head>

Latest revision as of 03:48, 27 October 2010