Last active
November 27, 2018 09:11
-
-
Save AaronLayton/906695682219545c7b873623630701f2 to your computer and use it in GitHub Desktop.
archercode.js
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
$(window).load(function(){ | |
$('.pageContainer').css({'background':'rgba(255,255,255,0.8)', 'overflow':'hidden'}); | |
$('.item, .optionList').css('background', '#fff'); | |
$('.item img, .collection img').on('mouseover', function(){ | |
var bgImage = $(this).attr('src'); | |
$('.mainContainer').css('background','url(' + bgImage + ')'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment