Random dot generation
How do I make an random dot generation?
What is a random dot generation? How do you make a random dot generation? This script and codes were developed by Kevin Bertram on 08 September 2022, Thursday.
Random dot generation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>random dot generation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="home-con"> <ul class="values-list"> <li><a class="values-item" id="vimh" href="#">Making History</a></li> <li><a class="values-item" id="viex" href="#">Exploring</a></li> <li><a class="values-item" id="vimm" href="#">Meaning & Making</a></li> <li><a class="values-item" id="vias" href="#">Artists, Scholars, & Designers</a></li> <li><a class="values-item" id="vicc" href="#">Creating Chicago</a></li> </ul>
</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>
Random dot generation - Script Codes CSS Codes
.values-list { font-size: 3em; list-style: none; display: block; z-index: 100; position: absolute;
}
.values-list li { font-style: italic; font-weight: bold; text-transform: uppercase;
}
.values-list a { text-decoration: none; color: #000;
}
.dot { font-size: 20em; color:#ccc; position: absolute; line-height:20px;
}
.blue { color: skyblue;
}
Random dot generation - Script Codes JS Codes
function addCirclesBg () { var dot = $('<span class="dot">•</span>'); var csize = Math.ceil(Math.random() * 10) + 20; $(dot).css({ 'position': 'absolute', 'top': Math.random()*$(window).height(), 'left': Math.random()*$(window).width(), 'font-size': csize+'em' }); $('body').append(dot.fadeIn(500));
}
function addCirclesBg2 () { var dot = $('<span class="dot blue">•</span>'); $(dot).css({ 'position': 'absolute', 'top': Math.random()*$(window).height(), 'left': Math.random()*$(window).width() }); $('body').append(dot.fadeIn(500));
}
$(document).ready(function () { $('#vimh').hover(function () { var ccfunc = addCirclesBg; var intervalDelay = 300; intervalId = setInterval(ccfunc, intervalDelay); }, function () { clearInterval(intervalId); }); $('#viex').hover(function () { var ccfunc = addCirclesBg2; var intervalDelay2 = 300; intervalId2 = setInterval(ccfunc, intervalDelay2); }, function () { clearInterval(intervalId2); });
});
Developer | Kevin Bertram |
Username | kbrtrm |
Uploaded | September 08, 2022 |
Rating | 3 |
Size | 2,182 Kb |
Views | 16,192 |
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 |
Simple pop up social share | 3,116 Kb |
News Current State with Full-Width Feature Area v3 | 26,287 Kb |
Registration Options | 2,175 Kb |
You blockhead | 1,933 Kb |
Full text preview | 3,157 Kb |
Press Release Full Text | 66,636 Kb |
Cloudy Header | 3,946 Kb |
Theme Customization Preview | 12,478 Kb |
A Pen by Kevin Bertram | 16,613 Kb |
SAIC Campaign Styles | 43,117 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 |
Mondrian | Chrisarmstrong | 2,787 Kb |
Spin | Elalemanyo | 8,262 Kb |
Flat design iframe | Damienpm | 1,819 Kb |
Another brick in the wall | Fivera | 1,955 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Vue.js | Thommyboy02 | 1,506 Kb |
Apex Calculator | Michaelwnelson | 2,370 Kb |
Rotate Demo | Agelber | 3,061 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 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!