Difference between revisions of "Team:BNU-China/Integrated Practices"

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;
+
var img = $('img.practice-img');
$('div.practice-link-left').css(
+
var height = getWH(img, 'height');
"top", ImgT + ImgH*0.5
+
alert(height);
);
+
 
alert(ImgT);
+
 
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 14:25, 12 October 2016

Team:BNU-CHINA - 2016.igem.org