Line 54: | Line 54: | ||
document.querySelector('div#practice').style.backgroundImage='url("https://static.igem.org/mediawiki/2016/a/a6/T--BNU-China--sky2.jpg")'; | document.querySelector('div#practice').style.backgroundImage='url("https://static.igem.org/mediawiki/2016/a/a6/T--BNU-China--sky2.jpg")'; | ||
} | } | ||
+ | var ImgT = $('.practice-img').top; | ||
+ | var ImgH = $('.practice-img').height; | ||
+ | $('div.practice-link-left').style.top = ImgT + ImgH*0.5; | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 14:02, 12 October 2016