Hide on inactivity
How do I make an hide on inactivity?
What is a hide on inactivity? How do you make a hide on inactivity? This script and codes were developed by SNÖGRAFX on 26 August 2022, Friday.
Hide on inactivity - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hide on inactivity</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id='thing'></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Hide on inactivity - Script Codes CSS Codes
body { background: maroon;
}
#thing { background: orange; padding: 3em; margin: 3em; height: 3em; width: 3em;
}
Hide on inactivity - Script Codes JS Codes
var el = '#thing';
var interval = 1;
setInterval(function(){ if(interval == 5){ $(el).hide(); interval = 1; } interval = interval+1; console.log(interval);
},800);
$(document).bind('mousemove keypress', function() { $(el).show(); interval = 1;
});
Developer | SNÖGRAFX |
Username | snografx |
Uploaded | August 26, 2022 |
Rating | 3 |
Size | 2,082 Kb |
Views | 52,624 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CityPlanner fallback | 4,228 Kb |
Basic parallax | 2,269 Kb |
CSS Close button | 2,309 Kb |
Mondrian Flexbox | 2,229 Kb |
Owl Carousel, Centred Content | 2,773 Kb |
Google-style CSS options button | 2,293 Kb |
Clickable back element | 1,517 Kb |
Vertical image scroller with hover arrows | 2,367 Kb |
CSS X | 2,024 Kb |
CSS Navigation buttons | 2,460 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Revolving Text Landing Page Trial | TimRuby | 2,976 Kb |
Whyutils | LeYvan | 3,752 Kb |
Easing | GreenSock | 2,043 Kb |
Motion Lines - codevember - 02 - 2016 | Caiocares | 2,744 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
Glowing Pulse Form | Jackrugile | 2,542 Kb |
Example SVGZ Data URI | Joeyhoer | 2,981 Kb |
Css color for svg | Ademilter | 2,392 Kb |
Savemedia1.1 | EdsonAlcala | 2,148 Kb |
Sexy Social Buttons | Ipiyale | 2,226 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!