Difference between revisions of "Team:Jilin China/Home Js"

Line 105: Line 105:
 
      $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
      $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  setTimeout(function(){doscroll = true;},transitionTime);
 
  setTimeout(function(){doscroll = true;},transitionTime);
  paa.innerHTML = "tag=" + tag;
+
  paa.innerHTML = "tag=" + tag + doscroll;
 
  }
 
  }
 
  }else{
 
  }else{
Line 113: Line 113:
 
      $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
      $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  setTimeout(function(){doscroll = true;},transitionTime);
 
  setTimeout(function(){doscroll = true;},transitionTime);
  paa.innerHTML = "tag=" + tag;
+
  paa.innerHTML = "tag=" + tag + doscroll;
 
  }
 
  }
 
  }
 
  }
Line 127: Line 127:
 
  $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  setTimeout(function(){doscroll = true;},transitionTime);
 
  setTimeout(function(){doscroll = true;},transitionTime);
  paa.innerHTML = "tag=" + tag;
+
  paa.innerHTML = "tag=" + tag + doscroll;
 
  }
 
  }
 
  }else{
 
  }else{
Line 134: Line 134:
 
  $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  $(".s1 > div").css("transform","translateY(" + -(document_Height)*(tag-1) + "px)");
 
  setTimeout(function(){doscroll = true;},transitionTime);
 
  setTimeout(function(){doscroll = true;},transitionTime);
  paa.innerHTML = "tag=" + tag;
+
  paa.innerHTML = "tag=" + tag + doscroll;
 
  }
 
  }
 
  }
 
  }

Revision as of 13:47, 17 July 2018