Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added x-axis rotation support. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CWSpear
Copy link

@CWSpear CWSpear commented May 12, 2012

I was bored one day and added your effects on a site, and the designer thought it would be cooler if they rotated over the x-axis instead of the y-axis, so I modified the script to have an axis option that if set to 'x' will rotate it over the x-axis instead of y-axis.

I didn't do any major testing, but it wasn't any major changes. You can see it in action on our testing site: http://hiawatha.ziplinestaging.com. Check out the smaller feature sets underneath the slideshow. I don't know what the final URL will be (i.e. client still doesn't know), so if this link is down, send me a PM and I'll track down the live URL.

@Mikekerwin
Copy link

o sweet your the shiznit thanks! zachstronaut helped me get a straight animation without any perspective / 3d by removing the skew....I tried doing that on your script and when you press it once it works but to return to the front face it doesnt animate at all, just waits for a sec then the front face just appears...you know how I would get the toggle to work without the skew? (right now I just removed the skew on line 70, I think I need to do something with the if statement on line 91 but not sure about that one)....thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants