Team:WHU-China

From 2013.igem.org

(Difference between revisions)
Line 45: Line 45:
</script>  
</script>  
<div style="width:auto;margin-bottom:30px;height:350px;width:700px;">
<div style="width:auto;margin-bottom:30px;height:350px;width:700px;">
-
<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);"></img><div 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);"></img><div onclick="" 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>
</div>
</div>
Line 56: Line 56:
if (!document.images)
if (!document.images)
return
return
-
document.images.slide.src=eval("image"+step+".src")
+
        document.images.slide.src=eval("image"+step+".src")
if (step<3)
if (step<3)
step++
step++
else
else
step=1
step=1
 +
                if(document.getElementById("nextimg").onclick)
 +
                step++
 +
                if(document.getElementById("previousimg").onclick)
 +
                step--
//call function "slideit()" every 2.5 seconds
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",4500)
setTimeout("slideit()",4500)

Revision as of 03:13, 21 September 2013

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