GithubHelp home page GithubHelp logo

codrops / pagetransitions Goto Github PK

View Code? Open in Web Editor NEW
2.2K 125.0 445.0 35 KB

A showcase collection of various page transition effects using CSS animations.

CSS 70.49% JavaScript 20.11% HTML 9.40%

pagetransitions's Introduction

pagetransitions's People

Contributors

botelho avatar crnacura avatar karol-f avatar thingdiputra avatar tiagoportfolio avatar yawetse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pagetransitions's Issues

Translate3d related animations are broken in Chrome 27

Steps to reproduce the issue:

  1. Choose a transition
  2. Choose Rotate
  3. Choose Flip
  4. Click Flip right a few times
    Notice the screen blacks out eventually.

I'm sure this worked before Chrome 27 and works just fine in Safari.

Immediate transition

Hi,

How can I add a "no effect" transition between two different pages ?

Thanks,

Charles

[enhancement] Add missing bower.json.

Hey, maintainer(s) of codrops/PageTransitions!

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!

Mouse scroll

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?

Change pages to specific ID's?

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! :)

Change URL

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.

Add Keyboard Controls

Is there a way I could add keyboard controls for the page transitions. So I could go forward/backward between the pages?

can't work with jquery mobile?

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.

transition on button

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

wiki

can you put a little example: how to use it, please?

Disable infinity scroll.

Hi, i have 2 problems.

  1. 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.

  2. 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.