Call link with Javascript - Transition

Call link with Javascript - Transition

Hi,

Looking for a solution for the very slow responsiveness on mobile devices, it seems that the main solution consists in using "Tap" event instead of "href" between pages.

I tried this and yes this is way more responsive.

So I replaced:
<a href="mypage.html">

by:
window.location="myPage.html"

Ok this is much faster, but this made me lose the nice transitions between pages (slide, pop, ...)

So the question is:
--> Is it possible to use the transitions with this method ?

Maybe the second question would be:
Is what I did correct ? :-)

Many thanks in advance for your answers :-)