C
C
chief2020-02-15 11:35:06
PHP
chief, 2020-02-15 11:35:06

How to launch the JL Preloader of a site by clicking on a link?

There is a site on Joomla 3.x (Template on GANTRY5, Particles, UIKIT, etc.).
The JL Preloader atom is used, which displays the page preload animation. But it is displayed only when the browser has already moved to the page and loads the content.

I want to somehow file an event so that when you click on the link, this animation also starts.
Because now it turns out from the moment of clicking on the link the user waits 50% of the time looking at the old page and an empty tab at the time of the transition. And then, on the new page, he watches the animation.

And I would like the maximum waiting time to be closed by animation (IMHO it's more beautiful).
//Ideally, of course, I would like to implement something in the form of Blur`a. Like by clicking on a link - a smooth fade \ blur of the current page with an animation output, and after switching to a new page - a transition from animation to Unblurring an already loaded page :)
But this is probably too complicated.

Help with code :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question