MyBB Central

Full Version: Edit the loading box?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
me and my friend we're wondering how to change the background of the loading box [Image: spinner_big.gif]... Thanks!
It's coded directly in the javascript. You'll have to edit the core files.
Ok thanks... Which file(s)?
Edit this section of general.js

        this.spinner = document.createElement("div"); = "1px solid #000000"; = "#FFFFFF"; = "#000000"; = "absolute"; = 1000; = "center"; = "middle"; = "13px";

        this.spinner.innerHTML = "<br />"+image+"<br /><br /><strong>"+loading_text+"</strong>"; = this.width + "px"; = this.height + "px"; = top + "px"; = left + "px"; = "spinner";
        owner.insertBefore(this.spinner, owner.firstChild);
Thanks worked like a charm Smile