Pandee Posted January 31, 2021 Share Posted January 31, 2021 Hello, Right now I am learning about Header.. and i asked myself, Can i add a transition to it. I have the below header. Accompanied my JS/CSS to create this page redirects header("location: welcome.php"); The transition CSS/JS works by <a href="#" class="btn js-trigger-transition">Begin Transition</a> I Can't seem to find many materials about this combination. Thanks for being there! Quote Link to comment https://forums.phpfreaks.com/topic/312079-combining-header-and-a-page-transition/ Share on other sites More sharing options...
requinix Posted January 31, 2021 Share Posted January 31, 2021 starting to run out of crystal balls here... header() redirects tell the browser to go to a different place than they first tried to go. It has nothing to do with transitions. If you want a transition between pages then what you do with header() is irrelevant. If you're having a problem with transitions not working, forget the header() and make them work normally first. 1 Quote Link to comment https://forums.phpfreaks.com/topic/312079-combining-header-and-a-page-transition/#findComment-1584171 Share on other sites More sharing options...
Pandee Posted January 31, 2021 Author Share Posted January 31, 2021 2 minutes ago, requinix said: starting to run out of crystal balls here... header() redirects tell the browser to go to a different place than they first tried to go. It has nothing to do with transitions. If you want a transition between pages then what you do with header() is irrelevant. If you're having a problem with transitions not working, forget the header() and make them work normally first. Oh ok~! Sorry about the crystal balls...f I can ignore that I shall work on what you said! Quote Link to comment https://forums.phpfreaks.com/topic/312079-combining-header-and-a-page-transition/#findComment-1584172 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.