I’ve been thinking about this for a bit to see what solution we could provide so that the IX2 Javascript is available from each page, and I think we have a solution:
Export the Webflow project
Change the JS file from .js to .txt
Upload the .txt file to your Webflow project
Reference the .txt file in the head of your project settings
This may work as a solution as the project initial loads the files of the entire project, but then only loads selected portions of the page to provide a smooth transition.
This is great for the transition, but overlooks JS files that would be needed for IX2
Hopefully this workaround is helpful, and I plan to test it myself some time.
Hi ,
Still not clear to me …I must have been missing may be
what will Calling *.txt will provide here ?
you mean calling IX2 script in each page ?
converting file to txt is the part I am little bit lost
I guess @mistercreate means calling the webflow js script manually ?
The txt part is to allow you to upload a script as a file in webflow asset manager
I was able to get this to work correctly, however… I had two problems.
When I scrolled down a page and then went to a new page, I wouldn’t be at the top of that new page. I would be at the same scroll location as the previous page, resulting in an experience that feels broken
I lost the functionality of Webflow’s interactive components such as a tabs and drop down menu’s.
Does anyone know of any libraries that solve for these issues?
If anyone wants to copy-paste the header and footer codes: Header: <script type="text/javascript" src="https://uploads-ssl.webflow.com/5d9c434959eb476c01d4a02b/5e6b52c003eb1a6f58023be5_barba.min.txt"></script>