Line 319: | Line 319: | ||
<script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | <script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
<script>$(window).on('load', (function() {$("#loading").fadeOut(1000);}))</script> | <script>$(window).on('load', (function() {$("#loading").fadeOut(1000);}))</script> | ||
+ | <script>$("span img").each(function() { | ||
+ | var alt = $(this).attr("alt"); | ||
+ | var $span = $(this).parent('.image'); | ||
+ | $span.append('<div class="alt">' + alt + '</div>'); | ||
+ | var $alt = $span.children('.alt'); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Revision as of 16:12, 15 October 2018