This code will add a graphical interface to each page load. I wrote this code to close the graphical interface as soon as the page fully loads. So if your page takes one second to load it only shows for one second, but if your page takes 10 seconds to load, It will show it for 10 seconds and so on. I've also added a 20 second failsafe closing code so if anything locks up on your network or someone has really slow Internet it will close whether the pages fully loaded or not.
click here to see it live - Ning 3
~
click here to view the JS codes
click here to view the CSS codes
Install instructions Ning 3 For your whole network place the code above all the other codes in your "Custom Code - <Head> Code box". And for an individual page the code goes in the "Below Header HTML box"..
Install instructions Ning 2 For your whole network place the code in your add box above the header.
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/558302?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963872815?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963873322?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963873338?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963873405?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963873857?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963873789?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963874452?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
<link rel="stylesheet" type="text/css" href="null//storage.ning.com/topology/rest/1.0/file/get/963874461?profile=original"/>
<script type="text/javascript" src="null//storage.ning.com/topology/rest/1.0/file/get/558297?profile=original"></script>
If you'd like to create your own custom loader just replace the loader image link in the code below with your custom loader image link then place the code in your design studio CSS section. You can also use this snippet of code to customize the loader for individual pages. That way you'll have a different graphical loading interface for each individual page. For individual pages this code goes in your "Below Header HTML box"
/* design studio CSS section */
BODY:after{
background-color:black!important;
background-image: url("https://api.ning.com/your-link.gif")!important;
background-position: center;
background-repeat:no-repeat;}
@media screen and (max-width:560px) {
body:after{
background-size: contain!important;} }
Click this link to download more loader images... more_loader_images.exe
Replies
I do have a cousin named Matthew Compton but I don't know if he has ginger hair. LOL
Ah right aha :)
fair enough lol
My sister's boyfriend is called Matthew Compton see :P
Hey George :)
Hope your ok ? :)
I told you the other day, that I wasn't going to use one of these at the moment, but I changed my mind lol
I've got the first one on my website, It's Awesome :) I did have the second one, but I didn't personally like it, I didn't feel like it looked right with my website aha, I'm not saying its not good, because their all awesome aha, But you know.... :P
This is Fantastic and one of the best Tips i have seen since the beginning of Ning 2 I Love it and thanks George for sharing with everyone :-) Super Cool
LOL Dave, I don't know about that but thank you :-)
Update V3
The Google Chrome Z-index issue has been fixed. Sorry guys.
Updated Aug 21