[SOLVED] Loader gif

Answered
1
0

Good day,

 

I have added a loader.gif in root folder and I found that the intial loader was changed however succeeding pages still uses the original loader gif. How to change it completely?

 

Thanks.

  • You must to post comments
Best Answer
1
0

The first loader is loaded before Wisej and your app are even loaded in the browser. What you see from the start is Default.html and loader.gif. This lets you completely customize the initial “splash”. We have some really cool splash pages for some of our projects. See attached.

The smaller ajax spinner and mask you see later when a request is taking longer or there is a network latency is entire managed by the theme. You can change it using a custom theme or a simple mixin.

The image is a gif named

{
 images: { 
   ajax-loader: ""
 }
}

You can use any gif either as a data url or a real url.

The mask color (same one used for modals) is:

 

{
  colors: {
    "modalMask": "rgba(255,255,255,0.51)"
  }
}

You can also change them programmatically:

 

Application.Theme.Colors["modalMask"] = "red";

Application.Theme.Images["ajax-loader"] = "loader.gig";

 

Attachment
  • You must to post comments
0
0

Thanks.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.