Ripple plugin

Ripple plugin

1 The web is flat, but now you can fold it up. Otherwise, all you’ll see here are some ripple plugin text and images. Visit this site if you need help turning it on. You can browse through all the effect methods here in the source.

It seems my folding days are through. Keep in mind that arguments are flexible. The anchor you used last is assumed when leaving out an anchor argument. In other words, you can call asynchronous methods synchronously and the operations will intelligently queue themselves.

There’s even no need to chain or make the calls within the same event loop. Touch and mouse events also immediately clear queued actions. The demos at the top of this page have it enabled. If you resize this site to a small width, you’ll see the demos above change width accordingly.

The function is called for every panel in the series and may return a different value for each panel based on the same input value. For example, if you wanted to create a fold-in effect that keeps the first and last panels flat against the page surface, your function could return different values based on the index and length arguments supplied to it. IE 10 and below lack this, but I’m sure you could’ve guessed that. Follow me if that sounds like it might interest you. For similar open-source projects, take a look at my personal site. And remember, the DOM is your oyster.