Adjust fade time for displaying page after loading

4 replies · opened Jul 3, 2019

Eenero_55Jul 3, 2019

I know there is a simple answer to this but how can I adjust the fade time for when a page is displayed after loading?

In the docs under "Page loading transitions", I found "data-speed-in" and "data-speed-out", but I cannot find any existing setting with these terms anywhere. I guess they must exist somewhere since a transition is in fact taking place per default. Where can i find it?

SSemicolon WebSTAFFJul 3, 2019

Hello,

Consider adding the data-speed-in="10000" Attribute to the <body> tag. Example:

We have just checked this out on Our Demos and appears to be working fine for us.

Let us know if we can help you with anything else or if you find any further issues.

Eenero_55Jul 3, 2019

Thank you for your quick reply!

To questions:

  1. Since there already is a transition, I assume that data-speed-in is already specified with a default value. Where in your code is that specified? I can't find it in any of the files.

  2. If I solve it like you propose, I would have to add it in the <body> tag of every single html file in my site. Isn't there a generic way to do this once so that it applies for all html files?

SSemicolon WebSTAFFJul 3, 2019

Hello,

Thank You for explanation on this. Now, we understand what you are trying to do here.

Consider finding the following code in the js/functions.js File:

if( !durationIn ) { durationIn = 1500; }

and replace the 1500 value with your own.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Eenero_55Jul 3, 2019

Great, thanks!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard