Team:Goettingen/suplement/scripts

From 2013.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 19: Line 19:
}
}
 +
 +
//与jq中的toggle函数相似,简化版本
 +
function toggle(target){
 +
  if(getComputedStyle(target,null).display == "none"){
 +
            target.style.display = "block"
 +
    } else {target.style.display = "none"}
 +
}
 +
 +
function getOrgStyle(ob){
function getOrgStyle(ob){
Line 47: Line 56:
function startslide()
function startslide()
{
{
-
if(picSlide_i >= 5) picSlide_i = 0;
+
if(picSlide_i >= e.length) picSlide_i = 0;
fadeInOut();
fadeInOut();
$("#resume").hide();
$("#resume").hide();

Latest revision as of 11:56, 2 October 2013