var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("dot"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; }
摘要: 原文:http://dpn525.iteye.com/blog/860422 1、HxlsAbstract.java import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOExcept 阅读全文
posted @ 2016-09-02 18:52 Solomon_xm 阅读(380) 评论(0) 推荐(0) 编辑