Created
August 22, 2012 19:13
-
-
Save mason-stewart/3428500 to your computer and use it in GitHub Desktop.
Chris Merritt
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 type="text/javascript"> | |
| $(document).ready(function(){ | |
| var background = $('#backstretch img'); | |
| var realBG = background.attr('src'); | |
| $('.byline strong').hover(function(){ | |
| background.attr('src','http://s1.nextround.net/wp-content/uploads/2009/08/chucknorris_gif1.gif') | |
| }, function(){ | |
| background.attr('src', realBG) | |
| }); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cute.