Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 50: | Line 50: | ||
for (var i=0;i<items.length;i++) { | for (var i=0;i<items.length;i++) { | ||
− | items[i]. | + | var curLink = items[i].getElementsByTagName('a')[0]; |
+ | var boxIns = "<div id=\"mag\"><a href=\""; | ||
+ | boxIns = boxIns.concat(curLink.attributes.href); | ||
+ | boxIns = boxIns.concat("\"><img src=\"https://2015.igem.org/wiki/skins/common/images/magnify-clip.png\"></a></div>"); | ||
+ | items[i].innerHTML += boxIns; | ||
} | } | ||
Revision as of 09:53, 17 August 2015