Last active
February 2, 2018 03:30
-
-
Save andresn/f100386f06ee28e35bd83c62d9219890 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Try working off of something like this: https://jsfiddle.net/drdrace/4f71vw3u/2/ | |
This would be a more efficient way of having only one img element, since you don't have to cause the browser to "repaint" every time you insert a new img element via innerHTML: | |
https://jsfiddle.net/drdrace/4f71vw3u/11/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment