Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.FlashExternalInterface.logLoginStep = function(b) {
- if (b == "client.init.start") {
- document.getElementById('loader_bar').style = "width:10%;";
- $('.throne,.cola,.deck').addClass('loaded');
- }
- if (b == "client.init.core.init") {
- document.getElementById('loader_bar').style = "width:25%;";
- $('.globe,.bc,.dino').addClass('loaded');
- }
- if (b == "client.init.auth.ok") {
- document.getElementById('loader_bar').style = "width:50%;";
- $('.tl,.samovar,.barrier').addClass('loaded')
- }
- if (b == "client.init.localization.loaded") {
- document.getElementById('loader_bar').style = "width:75%;";
- $('.dice,.clubsofa,.desk').addClass('loaded');
- $('.spotlight,.trax,.mocha').addClass('loaded');
- }
- if (b === "client.init.config.loaded") {
- setTimeout(function() {
- document.getElementById('loader_bar').style = "width:100%;";
- $('.hammock,.typewriter,.clog,.plant').addClass('loaded');
- }, 3000);
- setTimeout(function() {
- $('#loader-wrapper').fadeOut('1000');
- }, 5000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement