Red Bag Posted April 18 Share Posted April 18 I tried using UIKit's "uk-scrollspy-nav" to control the staggered cards. It successfully scrolls to the respective sections, but when clicking the Section 1 menu to scroll back to Section 1, Section 2 will overlap Section 1. Anyway to add the navigation menu to control the staggered cards? See the Pen yLrRXOj by redbad (@redbad) on CodePen Link to comment Share on other sites More sharing options...
Sahil Posted April 18 Share Posted April 18 You can use scrollTo plugin to scroll to certain element, but because you are animating sections, you can't use them as reference. Instead, you need to wrap them in another wrapper so you can use this wrapper in scrollTo. See the Pen jOReGmM by SahilAFX (@SahilAFX) on CodePen 2 Link to comment Share on other sites More sharing options...
wbforrester Posted Monday at 03:44 PM Share Posted Monday at 03:44 PM @Sahil your website seems to down, how can I contact you re: a project? Link to comment Share on other sites More sharing options...
Rodrigo Posted Monday at 10:47 PM Share Posted Monday at 10:47 PM Hi @wbforrester and welcome to the GSAP Forums! What exactly is down? The codepen @Sahil created is working as expected right now. Sometimes Codepen doesn't work for a few minutes and then gets back at working. Happy Tweening! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now