Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 13: | Line 13: | ||
<script> | <script> | ||
/* insert image mag box into every imgBox */ | /* insert image mag box into every imgBox */ | ||
− | + | $(document).ready(function(){ | |
var items = document.getElementsByClass('imgBox'); | var items = document.getElementsByClass('imgBox'); | ||
+ | |||
for (var i=0;i<items.length;i++) { | for (var i=0;i<items.length;i++) { | ||
− | items[i].innerHTML += "<div id=\"mag\"><img src=\"https://2015.igem.org/wiki/skins/common/images/magnify-clip.png\"></div>" | + | /*items[i].innerHTML += "<div id=\"mag\"><img src=\"https://2015.igem.org/wiki/skins/common/images/magnify-clip.png\"></div>"*/ |
+ | items[i].innerHTML += "<div id=\"mag\"></div>" | ||
} | } | ||
− | } | + | } |
</script> | </script> | ||
Revision as of 09:47, 17 August 2015