Comments (1)
If I am correct, you need to show the landing page just once to the user, then you may add the following code inside onEndAnimationon
function in transition.js file (after line number 449).
Note: Make sure your landing page div be #landing-page
.
if ($currentPage.attr('id') == 'landing-page') {
$('#landing-page').remove();
$pageWrapper.data('current', 0);
}
After adding
function onEndAnimation($pageWrapper, $nextPage, $currentPage) {
// Remove the landing page after the animation is complete.
if ($currentPage.attr('id') == 'landing-page') {
$('#landing-page').remove();
$pageWrapper.data('current', 0);
}
resetPage($nextPage, $currentPage);
$pageWrapper.data('isAnimating', false);
}
from transition.js.
Related Issues (20)
- Page Transitions for Multi-Step-Form? HOT 1
- .pt-trigger only inside .pt-wrapper? HOT 8
- Programmatic Transition? HOT 2
- Not playing nice with Angular. HOT 1
- Not playing nice with Angular.
- Remember which page was active after refresh HOT 1
- More of a feature than issue - Random page HOT 1
- Overflow scroll HOT 1
- Dynamic navigation HOT 1
- Issues with transitions 54-57 HOT 2
- Some web pages persist. HOT 10
- Invalid 'data-goto' attribute
- pages wrapper HOT 1
- Links instead buttons HOT 2
- Wordpress integration HOT 2
- Wordpress Integration
- Not able to make the transition effect work HOT 1
- Transition.js : Invalid 'data-goto' attribute configuration HOT 4
- dato-goto is still invalid, any ideas?
- Transition.js : Invalid 'data-goto' attribute configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transition.js.