Skip to content

Instantly share code, notes, and snippets.

@wedtm
Created September 18, 2009 19:19
Show Gist options
  • Select an option

  • Save wedtm/189232 to your computer and use it in GitHub Desktop.

Select an option

Save wedtm/189232 to your computer and use it in GitHub Desktop.
$(document).ready(function(e) {
if($('flash').length) {
setTimeout(removeMessage, 500);
}
});
function removeMessage(){
$(document).one('click mousemove keypress', function(e) {
$('flash').fade();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment