Splashscreen until document ready
How do I make an splashscreen until document ready?
Perhaps you can't see the splashscreen, because the document is ready instantly :D 15Mpx image loads in the background. Try this for a heavier page. What is a splashscreen until document ready? How do you make a splashscreen until document ready? This script and codes were developed by Reinis on 06 December 2022, Tuesday.
Splashscreen until document ready - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>splashscreen until document ready</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<div id="splashscreen"></div>
<!-- Splashscreen should mach body bgcolor -->
<!-- The following is to slow down the page load so that the effect can be observed --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=10"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=123"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1232"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=12341"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=123459"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234568"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=12345677"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567863"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567891"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.jsx=1234567890"></script>
<img src="https://upload.wikimedia.org/wikipedia/commons/8/85/Goldendoodle_puppy_Marty.jpg" />
<img src="https://puppyhood.com/media/7606/2015_01_24_puppychow_lacunha_1026.jpg" /> <script src="js/index.js"></script>
</body>
</html>
Splashscreen until document ready - Script Codes CSS Codes
body {margin:0;background-color:purple;}
img {height:200px;}
#splashscreen {position:fixed; z-index:99999; width:100vw; height:100vh; background-color:black; background-image: url('http://www.ropejumping.lv/!/logo.png'); background-repeat:no-repeat; background-size: 250px auto; background-position:center;}
.dn {display:none}
Splashscreen until document ready - Script Codes JS Codes
$(document).ready(function() { $('#splashscreen').addClass('dn');
})
Developer | Reinis |
Username | 72 |
Uploaded | December 06, 2022 |
Rating | 3 |
Size | 2,106 Kb |
Views | 8,096 |
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 |
Vimeo video in background | 1,718 Kb |
Full page iFrame | 1,390 Kb |
Working hours | 2,258 Kb |
Transform modes | 1,726 Kb |
Top-bottom navigation button | 2,514 Kb |
Simple html js slideshow | 1,692 Kb |
Clickable table cell 2 | 1,716 Kb |
Events | 1,472 Kb |
Html5 video overlay play button | 2,033 Kb |
Stretchy fragile div classes grid frame | 1,669 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 |
Calculator | Rzencoder | 4,572 Kb |
After America | Jonathangarner | 2,686 Kb |
Welcome | Nakome | 6,076 Kb |
Week7 replicate | Hwcasis | 1,620 Kb |
Loading animation | Codeams | 2,408 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Filter inputs | Rowinf | 1,721 Kb |
MAD9013 - Float Images with Content | Mad-d | 2,220 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
Background Images | Jooonebug | 2,100 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!