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

Line 2: Line 2:
 
{{BNU-CHINA/partials/nav | PRACTICES=focus}}
 
{{BNU-CHINA/partials/nav | PRACTICES=focus}}
 
<html>
 
<html>
<script>
 
if (window.screen.height > window.screen.width)
 
{
 
    alert('now');
 
    document.querySelector('div#practice').style.backgroundImage='url("https://static.igem.org/mediawiki/2016/a/a6/T--BNU-China--sky2.jpg")';
 
}
 
</script>
 
 
<div class="main-container" id="practice">
 
<div class="main-container" id="practice">
 
     <div class="container-fluid page-heading">
 
     <div class="container-fluid page-heading">
Line 18: Line 11:
 
</div>
 
</div>
  
 
+
<script>
 +
if (window.screen.height > window.screen.width)
 +
{
 +
    alert('now');
 +
    document.querySelector('div#practice').style.backgroundImage='url("https://static.igem.org/mediawiki/2016/a/a6/T--BNU-China--sky2.jpg")';
 +
}
 +
</script>
 
</html>
 
</html>

Revision as of 09:08, 11 October 2016

Team:BNU-CHINA - 2016.igem.org

Practices