Created
November 30, 2018 15:30
-
-
Save jefBinomed/e41dec1cd744559f3bb5022ae67217db to your computer and use it in GitHub Desktop.
2018-countdown-marquee
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<marquee behavior="scroll" direction="right" class="marquee_1">DevFest Nantes</marquee> | |
<marquee behavior="scroll" direction="right" class="marquee_2">DevFest Nantes</marquee> | |
marquee_1.style.display = 'none'; | |
marquee_2.style.display = 'none'; | |
// The text "DevFest Nantes" takes 2500ms to go through the marquee | |
setTimeout(function() { | |
marquee_1.style.display = ''; | |
setTimeout(function() { | |
marquee_2.style.display = ''; | |
}, 2500); | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment