Line 33: | Line 33: | ||
<body> | <body> | ||
− | < | + | <div style = "width:100%; height:400px; background-color:white; display:none;" id = "one" class = "show"></div> |
+ | <div style = "width:100%; height:400px; background-color:purple; display:none;" id = "two"></div> | ||
+ | <div style = "width:100%; height:400px; background-color:black; display:none;" id = "three"></div> | ||
+ | <div style = "width:100%; height:400px; background-color:green; display:none;" id = "four"></div> | ||
</div> | </div> | ||
<div style = "width:200px; height:100px; background-color:red;" id = "forward"></div> | <div style = "width:200px; height:100px; background-color:red;" id = "forward"></div> | ||
Line 46: | Line 49: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready( | $(document).ready( | ||
− | |||
function(){ | function(){ | ||
+ | var n = 1; | ||
$("#forward").click(function () { | $("#forward").click(function () { | ||
− | if (n == | + | n = n+1; |
− | $("# | + | if (n == 2) { |
− | else {$("# | + | $("#one").css('display', 'block'); } |
+ | else if (n==3) {$("#two").css('display', 'block');} | ||
+ | else if (n==4) {$("#three").css('display', 'block');} | ||
+ | else {$("#four").css('display', 'block');} | ||
}); | }); | ||
}); | }); |
Revision as of 16:14, 14 August 2016
Project
Human Practices
Team
Other
![](https://2016.igem.org/File:T--BostonU--sponge.gif)