Page 1 of 1

Preloader color

Posted: 23 Dec 2009, 02:02
by jldesigns1
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

Posted: 23 Dec 2009, 02:14
by jldesigns1
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.

Posted: 29 Dec 2009, 02:42
by mjau-mjau
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.