MyBB Central

Full Version: Where do I go to edit the spinner_big.gif background?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm going to change the spinner picture BUT I want to know where do I go to edit the background of it? Like I mean edit the box that holds the spinner image.
Spinner as in the circle going around (Loading)?

Explain, please.
You should find it in the images folder.
v.v

I am not asking where the image itself is at, I am asking where do I find the box around the image. I want to change the box's background.
It's in the javascript file itself. Hard coded.
(May 15, 2010, 02:39 PM)labrocca Wrote: [ -> ]It's in the javascript file itself. Hard coded.

That will be fine Smile

Do you know what the filename is? There are lots of JS files Tongue
general.js

Code:
this.spinner = document.createElement("div");
        this.spinner.style.border = "1px solid #000000";
        this.spinner.style.background = "#FFFFFF";
        this.spinner.style.color = "#a0a0a0";
        this.spinner.style.position = "absolute";
        this.spinner.style.zIndex = 1000;
        this.spinner.style.textAlign = "center";
        this.spinner.style.verticalAlign = "middle";
        this.spinner.style.fontSize = "13px";

        this.spinner.innerHTML = "<br />"+image+"<br /><br /><strong>"+loading_text+"</strong>";
        this.spinner.style.width = this.width + "px";
        this.spinner.style.height = this.height + "px";
        this.spinner.style.top = top + "px";
        this.spinner.style.left = left + "px";
        this.spinner.id = "spinner";
        owner.insertBeforethis.(spinner, owner.firstChild);
(May 15, 2010, 02:39 PM)labrocca Wrote: [ -> ]It's in the javascript file itself. Hard coded.

Same answer as I got at mybb.com

(Aug 02, 2010, 01:15 PM)Cybr Wrote: [ -> ]general.js

Code:
this.spinner = document.createElement("div");
        this.spinner.style.border = "1px solid #000000";
        this.spinner.style.background = "#FFFFFF";
        this.spinner.style.color = "#a0a0a0";
        this.spinner.style.position = "absolute";
        this.spinner.style.zIndex = 1000;
        this.spinner.style.textAlign = "center";
        this.spinner.style.verticalAlign = "middle";
        this.spinner.style.fontSize = "13px";

        this.spinner.innerHTML = "<br />"+image+"<br /><br /><strong>"+loading_text+"</strong>";
        this.spinner.style.width = this.width + "px";
        this.spinner.style.height = this.height + "px";
        this.spinner.style.top = top + "px";
        this.spinner.style.left = left + "px";
        this.spinner.id = "spinner";
        owner.insertBeforethis.(spinner, owner.firstChild);

Strangely not it.
Strangely that it is. You may have cache problem if you don't see new spinner and colors.
Cybr got it working, but I did not.
I'll clear my cache.
It worked!