I am trying to destroy and re-load my Flickity slideshow while using Swup for page transitions, and I am not having much luck. This is my js file: But when I try this I get the error flkty is not defined. Can anyone give me any pointers on this? Answer Variable scoping As mentioned by CBroe, your var is undefined
Tag: swup
How to transition to top of the page with swup js
Using Swup JS I achieved a nice transition effect which works fine except for one issue. If I scroll down to a certain point on page “A”, hit the url to transition to page “B”, I am not transitioned to the very top of page “B” but instead the scroll point is the same or close. How can I make