Created
March 11, 2015 20:00
-
-
Save rafapolo/88409cf5cb6c8e3e1326 to your computer and use it in GitHub Desktop.
certcheck.me animations
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
$(document).ready(function() { | |
$(".item[cert='{{cert}}']").css('border', '5px solid #FFBD09'); | |
$('.item').hover( | |
function(){ | |
icon = $(this).children().children(); | |
icon.attr('off', icon.attr('src')); | |
icon.attr('src', '/static/img/scary.svg'); | |
}, | |
function(){ | |
icon.attr('src', icon.attr('off')); | |
} | |
) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment