Team:WHU-China

From 2013.igem.org

(Difference between revisions)
Line 76: Line 76:
</script>  
</script>  
<div style=";margin-bottom:30px;width:700px;height:350px;">
<div style=";margin-bottom:30px;width:700px;height:350px;">
 +
<div onclick="stepminus)" id="previousimg" style="margin-top:165px;;float:left;height:40px;width:40px;border: 1px solid rgb(204, 204, 204);box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.16);"></div>
<img src="/wiki/images/a/a3/WHU-china_logo.png" name="slide" style="margin-top:30px;border: 0;box-shadow: 8px 8px 7px rgba(0, 0, 0, 0.15);" /><div onclick="stepplus()" id="nextimg" style="margin-top:165px;;float:right;height:40px;width:40px;border: 1px solid rgb(204, 204, 204);box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.16);"></div>
<img src="/wiki/images/a/a3/WHU-china_logo.png" name="slide" style="margin-top:30px;border: 0;box-shadow: 8px 8px 7px rgba(0, 0, 0, 0.15);" /><div onclick="stepplus()" id="nextimg" style="margin-top:165px;;float:right;height:40px;width:40px;border: 1px solid rgb(204, 204, 204);box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.16);"></div>
Line 86: Line 87:
                 document.images.slide.src=eval("image"+step+".src")
                 document.images.slide.src=eval("image"+step+".src")
                 step++
                 step++
 +
setTimeout("stepplus()",4500)
 +
                if(step>3)
 +
                step=3
 +
                }
 +
                function stepminus(){
 +
                document.images.slide.src=eval("image"+step+".src")
 +
                step--
 +
                if(step<1)
 +
                step=1
setTimeout("stepplus()",4500)
setTimeout("stepplus()",4500)
                 }
                 }
 +
//-->
 +
</script>
 +
 +
<!--
 +
 +
function slideit(){
function slideit(){
//if browser does not support the image object, exit.
//if browser does not support the image object, exit.
Line 103: Line 119:
}
}
slideit()
slideit()
-
//-->
+
-->
-
</script>
+
<div style="width:100%;">
<div style="width:100%;">
<div id="textblock1" style="width:23%;min-height:350px;margin-left:6%;background-color:rgb(0,143,161);float:left;"></div>
<div id="textblock1" style="width:23%;min-height:350px;margin-left:6%;background-color:rgb(0,143,161);float:left;"></div>

Revision as of 03:52, 21 September 2013

We strongly recommend you to use a non-IE core browser, for example Firefox, Chrome, Safari, or Opera