Transition between pages with javascript
-
Hey! Is there a function that I can use to change the current page via javascript? Thanks!
-
Dear @danielmachado
have a look here:
http://laythemeforum.com:4567/search?term=transition&in=titlesposts
Best!Marius
-
Hey @mariusjopen!
Sorry! I did not express myself correctly. The laytheme its a single page app.
I am asking if there is any function that allows you to make the requests to switch to a specific page. The documentation only shows the events. When i use normal links the whole site reloads...Thanks again!
-
Dear @danielmachado
the whole site does not reload. Only the content gets changes. The navigation for example stays the same.The switch is happening in javascript.
If you open the inspector in Google Chrome, you can see that there is no hard page refresh.Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it