Code SnippetsThese are pieces of code I've either built for myself or for other people. Feel free to use them!
Load an image at random from a list on refresh
Click on "rerun" to reload the environment.
Notes: Make sure to include the jQuery script in your head tags. Note that you provide the image file names separately from the image path.
Layout with different backgrounds when you scroll
Play a song at random from list on refresh
Click rerun to change the song.