We are using a lobby page with a navbar and a slider,
a login and create account pages (with navbars).The pages are templates.
We tried to implement single page application and it worked nice until now.
Whenever we change pages the behavior of the navbar disapears (and slider for example).
So we tried to load the script file webflow.js dynamically every page routing.
It works ok but whenever we go back to the slider it works weird and jumps 2-3 slides in a row.
Is there another way to initialize webflow.js variables in the file? I couldn’t access init/destroy functions in the console.
Any ideas?
I think it can be very beneficial to webflow!
found the solution in
Thanks!!!
2 Likes