pace.js - smooth page loading indicator
Hi,
This mod will show a nice loading indicator on top of your forum until all elements and resources are loaded and rendered on your forum. It's also very easy to install. 1) Download the attached file and unzip it. 2) Upload the pace.min.js file to the clientscript/ folder of your forum. 3) Now go to your style manager and open the template headinclude. 4) Add the following: PHP Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/pace.min.js"></script>
6) Go to the CSS/additional.css template and add the following: PHP Code:
.pace .pace-progress {
Tip: for more loading indicators and an easy way to set your color, go to https://github.hubspot.com/pace/docs/welcome/ All credits go to https://github.hubspot.com/pace/docs/welcome/. Download
pace.min.zip (4.2 KB, 134 downloads) |