Created
April 28, 2014 23:08
-
-
Save nrrrdcore/04bafc33761dfa6c46f4 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
script language="javascript" | |
// random number between 1 and 3 | |
document.getElementById("imgRand").src = "images/hero/"+imageCounter+".jpg"; | |
script language="javascript" | |
if(localStorage['imageCounter']) | |
localStorage['imageCounter']++ | |
else | |
localStorage.setItem('imageCounter', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment