GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing johnpolacek.github.io — SUPERSCROLLORAMA
Super scroll oramaThe jQuery plugin for supercool scroll animation powered by Greensock created by John Polacek with help from Jan Paepke NOTE: SuperScrollorama is no longer under active development. ScrollMagic is the new hotness! ShowcaseCheck out these great websites to see SuperScrollorama in action
Smashing Award Winner
CSS Design Award Winner
CSS Awards Site of the Day
Awwwards Site of the Day Winner
Featured on TAXI
Scrollorama For HireNeed help building your website? Contact us. Fade ItFly ItSpin ItScale ItSmush ItPin ItSlide ItWipe ItBounce ItColor ItUnpin ItFling ItMove ItParallax ItParallax ItParallax ItBring ItHow To UsePlease note, this is a powerful tool, and with great power comes great responsibility. ★ ★ ★ SuperScrollorama is powered by TweenMax and the Greensock Tweening Engine. Go to greensock.com for documentation on how to use it. Why Greensock/TweenMax? Great performance, ease-of-use, expandibility and basically because it is awesome. First, link to the jQuery CDN and then embed TweenMax.js and SuperScrollorama. Next, start up SuperScrollorama. Think of it as a controller for animation. You add tweens and timelines to it, targeting when an element appears in the viewport or at a specific scroll point. When initializing SuperScrollorama there are several options you might want to change.
$.superscrollorama({options})
Example
★ ★ ★ Use the addTween method to build your scroll animations.
.addTween(target, tween, duration, offset, reverse)
In the example below, the animation fades in when scrolled into view.
★ ★ ★ The default duration is 0, which means the tween plays through completely when its scroll point is reached. You can add a duration which will instead sync the tween progress to the scrollbar position. Instead of one tween, you can create a timeline of multiple tweens.
★ ★ ★ The 4th parameter is offset, which you can use to adjust the scroll point at which the animation is triggered.
★ ★ ★ The 5th parameter is reverse, which you can use to disable reverse animation.
★ ★ ★ Pass in a function to the tween for when the animation is complete.
★ ★ ★ You can remove any previously added Tweens using the removeTween method.
.removeTween(target, tween, reset)
In the example below, all tweens from the "#fade" element are removed and reset.
★ ★ ★ You can use the pin method to pin an element, do a series of animations and then unpin it. The callback functions will be called with a boolean parameter, true if triggered at end (bottom) of pin, false, if triggered at the beginning (top point).
.pin(el, dur, vars)
Example:
★ ★ ★ You can use the updatePin method if you want to change options for pinned elements at runtime. For example when the window size or the size of your pin Item have changed. It Expects the same parameters as the .pin method, except all but the element is optional.
.updatePin(el, dur, vars)
Example:
★ ★ ★ You can remove any previously added Pins using the removePin method.
.removePin(el, reset)
In the example below, the pin is removed, but not reset.
★ ★ ★ Sometimes you might want to tell SuperScrollorama to update all elements, for example when the window is resized. Here the method triggerCheckAnim comes in handy.
.triggerCheckAnim(immediately)
Example:
★ ★ ★ If you go the extra mile to make your SuperScrollorama application accessible to mobile users you'll need the method setScrollContainerOffset. For more details see simpledemo_mobile.html
.setScrollContainerOffset(x, y)
Example: controller.setScrollContainerOffset(0, 200); CreditsSuperScrollorama by Chicago Web Developer John Polacek Greensock Tweening Engine & TweenMax by Greensock Luckiest Guy Font by Astigmatic Fonts John Polacek works at Gesture, a mobile bidding and fundraising technology company that helps charities raise more money. |
| You are visitor 01402809 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |