Skip to content

Instantly share code, notes, and snippets.

@rafapolo
Created March 11, 2015 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafapolo/88409cf5cb6c8e3e1326 to your computer and use it in GitHub Desktop.
Save rafapolo/88409cf5cb6c8e3e1326 to your computer and use it in GitHub Desktop.
certcheck.me animations
$(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