In FireFox, animation starts before div's background appears. This doen't happend in Chrome and Opera ===================================================== Unsolved Mysterious Bug (2018-12-24) 2019-01-01:Solved In CPreloader.js, function was used as an index of the list array. ----------------------------------------------------- source:COptBg.js ----------------------------------------------------- CRefCnt.lock(); CPreloader.loadImgs(urls,this,function(){ CRefCnt.unlock(); }); CRefCnt.unlock(); doesn't work but if you just add " " before or after it, it works. ----------------------------------------------------- Fix CRefCnt.lock(); CPreloader.loadImgs(urls,this,function(){ CRefCnt.unlock(/* unlock bug fix */); }); -----------------------------------------------------