0

How to link css loader before a page loads?

29th Nov 2018, 1:47 PM
Prince Gupta
Prince Gupta - avatar
2 Answers
+ 1
I see 2 approach using javascript: -Your index page is the css animation. While it's playing you preload the next page. When the loading is complete you redirect the visitor on the welcome page for example. -You play the animation in front of the welcome page while the content is loading. On complete you destroy the "layer" containing the animation to let appear the welcome page just behind.
29th Nov 2018, 2:29 PM
Geoffrey L
Geoffrey L - avatar
0
Can you provide me the code?
29th Nov 2018, 4:16 PM
Prince Gupta
Prince Gupta - avatar