A showcase collection of various page transition effects using CSS animations.
codrops / pagetransitions Goto Github PK
View Code? Open in Web Editor NEWA showcase collection of various page transition effects using CSS animations.
A showcase collection of various page transition effects using CSS animations.
A showcase collection of various page transition effects using CSS animations.
Steps to reproduce the issue:
I'm sure this worked before Chrome 27 and works just fine in Safari.
Hi, so I have set-up multiple pages using the ".pt-page-$" class and the effect is working.
However I'd like to know how to add a link to specific page and to define what effect. For example a link to page 3 (".pt-page-3") using the 'Scale Up' transition.
How do I do this? I've been looking at https://github.com/icodebuster/transition.js but that doesn't work for me.
Thanks!
Hi,
How can I add a "no effect" transition between two different pages ?
Thanks,
Charles
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library codrops/PageTransitions
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "codrops/PageTransitions",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
I tried to implement mouse scroll (scroll down = next slide, scroll up = previous slide), but I just cant make it work. How can I give a scroll function the parameters (data-animation, data-goto) that the script needs?
Hey!
with your solution the rotation of the pages is random. Is there any chance to klick on from left/ to right -> Page 3 as a example?
Or from right to left to page 10?
Thanks for helping! :)
Hello,
Is it possible to add fixed elements inside, and to have the pages be more than 100% height?
Hi, I love this PageTransition.. I would like to use it.
But can someone change the code..
for SEO and other reasons I would like to see the URL change aswell.
Is there a way I could add keyboard controls for the page transitions. So I could go forward/backward between the pages?
Can I use with scrollify plugin? http://projects.lukehaas.me/scrollify/
I try use it with jquery mobile, so it can support swiping in mobile.
But once I add
<script src="http://demos.jquerymobile.com/1.4.2/js/jquery.mobile-1.4.2.min.js"></script>
all animation can't be used.
Hello,
I downloaded this sourcecode to use the moveToBottomEasing transition.
I have three buttons. I want this transition to occur when you click the button. Now my problem. I want every button to have is own background to appear.
So you click button 1 photo 1 appears with the transition. Evertime you click this button. The same photo appears with the transiton. But now i want the other two buttons have the same transition but another photo.
I am not seeing how to make this work. I hope you understand my question and can help me.
Thank you!
Gr. Leonie de Vries
can you put a little example: how to use it, please?
I think there're only 3 js files used in the project. and they are not in package.json.
When I npm i -S pagetransitions.js
npm i -S pagetransitions.js
npm WARN [email protected] No description
+ [email protected]
added 62 packages in 11.911s
62 packges installed. Is this a problem?
Hi, i have 2 problems.
3 slides. 1st is current, then i do one touch on Macbook, or android device, slides scrolls automaticly from 1 to 2 and to 3! Almost in one moment.
And if i scroll to top, from 1st slide go to 3, reverse.
I need fix it.
My code:
$(document).ready(function() {
$('body').mousewheel(function(event, delta) {
if (delta < 0 ) {
$("#nextpage").trigger("click");
}
else if (delta > 0) {
$("#prevpage").trigger("click");
}
// e.stopPropagation();
// e.preventDefault();
});
$("body").keydown(function(e) {
if(e.keyCode == 37) { // left
$("#prevpage").trigger("click");
}
else if(e.keyCode == 39) { // right
$("#nextpage").trigger("click");
}
});
});
Any help?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.