Skip to content

Instantly share code, notes, and snippets.

@samanpwbb samanpwbb/visible.js forked from tristen/visible.js
Created Oct 10, 2012

What would you like to do?
var locked = true,
b = $('.branding');
var fadeOut = setInterval(function() {
if (!locked) b.removeClass('visible');
}, 3000); // Change the 3000 value to your liking.
$('body').mousemove(function() {
locked = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.