Shreygupta (Talk | contribs) |
Shreygupta (Talk | contribs) |
||
Line 523: | Line 523: | ||
$(".footerarrow").toggleClass("inverted"); | $(".footerarrow").toggleClass("inverted"); | ||
}); | }); | ||
+ | $(document).ready(function(){ | ||
+ | var headings = document.getElementsByTagName("h1"); | ||
+ | var i; | ||
+ | for (i=0; i<headings.length; i++) { | ||
+ | var sometext = headings[i].innerHTML; | ||
+ | console.log(sometext); | ||
+ | headings[i].innerHTML = "<img src='https://static.igem.org/mediawiki/2017/c/c9/T--IISc-Bangalore--title_flank_left.png'>"+sometext+"<img src='https://static.igem.org/mediawiki/2017/a/a2/T--IISc-Bangalore--title_flank_right.png'>"; | ||
+ | } | ||
+ | }) | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 20:03, 1 November 2017