SHARE
TWEET

Untitled

a guest Sep 18th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var bildlauf =0;
  3. carousel();
  4.  
  5. function carousel(){
  6. var i;
  7. var x=document.getElementsByClassName("Bilder");
  8. for (i=0; i<x.length; i++){
  9. x[i].style.display= "none";}
  10. bildlauf++;
  11. if (bildlauf >x.length) {bildlauf=1}
  12. x[bildlauf-1].style.display ="block";
  13. setTimeout(carousel, 5000);// 1000 = 1sek
  14. }
  15.  
  16. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top