JackPhat Posted October 23, 2024 Posted October 23, 2024 Hi I want to create a Flip from the header to a new page like this website But when I click it don't append the child to the container I can't access to codepen in my country So I have created a stackblitz page instead
Rodrigo Posted October 23, 2024 Posted October 23, 2024 Hi, Yeah that doesn't look as the simplest thing to do. If you inspect the element with devtools you'll see that the dropdown element from the menu is never re-parented and also I wouldn't choose that route actually. If you go from about to news and then use the back button of the browser you'll see that. What you have to do is find an HTML structure for every page that matches the corresponding dropdown element on the layout and that will allow you to resemble that, the thing is that when the page transition runs the element in the target page is behind the dropdown element, that gives the idea that is the menu element the one being expanded. Finally I find super weird that you can't access codepen in your country, can't recall any user reporting that in over 10 years 🤷♂️, but that really sucks 😞 1
Rodrigo Posted October 23, 2024 Posted October 23, 2024 Also that site is on our showcase (made with GSAP) and they're using Wordpress 1
JackPhat Posted October 24, 2024 Author Posted October 24, 2024 11 hours ago, Rodrigo said: Hi, Yeah that doesn't look as the simplest thing to do. If you inspect the element with devtools you'll see that the dropdown element from the menu is never re-parented and also I wouldn't choose that route actually. If you go from about to news and then use the back button of the browser you'll see that. What you have to do is find an HTML structure for every page that matches the corresponding dropdown element on the layout and that will allow you to resemble that, the thing is that when the page transition runs the element in the target page is behind the dropdown element, that gives the idea that is the menu element the one being expanded. Finally I find super weird that you can't access codepen in your country, can't recall any user reporting that in over 10 years 🤷♂️, but that really sucks 😞 Thanks for the response, I will try to find it About codepen, so currently I live in Vietnam and I think they have blocked all the accesses from our country. I have also tried to use VPN but it's not working either.
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