Search…

X3 Photo Gallery Support Forums

Search…
 
jldesigns1
Topic Author
Posts: 6
Joined: 10 Dec 2009, 09:56

Preloader color

23 Dec 2009, 02:02

Hi there,

I've tried searching around for "Preloader" threads but couldn't find my answer.

Just a simple question, how do I change my preloader colors? The one that displays when an user first loads the gallery.

Cheers,
JL
 
jldesigns1
Topic Author
Posts: 6
Joined: 10 Dec 2009, 09:56

23 Dec 2009, 02:14

Oh by the way, the reason I need to change is due to the embedDemo I will be using for my gallery.

I'm using the white theme, while using embedDemo the first preloader color is white and if my background is white it will be invisible. (during loading of the gallery itself)

Once it is loaded however, loading other stuff such as images, gallery etc the preloader is grey.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Dec 2009, 02:42

To avoid having a million settings (we already have too many), some items like the preloader, inherits its color from the main foregroundcolor setting. The reason the color may not work on the initial preloader when using embedDemo.html, is because it hasnt loaded them themeconfig yet so it doesnt know what colors to use. You can solve this in the same way as the default gallery, by adding the following to your html:
Code
var flashVars = {
	foreground_color: 'EEEEEE',
	background_color: '222222'
};
If you are unsure where to put this code, just view the default demo, and click view source in your browser.