jQuery flip effect with Flippy

Hello !

Markup

First, add Flippy JS in your page. Be sure to have jQuery too !

            
            
        

The Flippy content need to be included in a container, this prevents random perspective effects with CSS :

            
Hello !

Simply call flippy() function

            $(".flipbox").flippy({
                color_target: "red",
                duration: "500",
                verso: "woohoo"
             });
        

If you want to reverse last flip, just use reverse() function.

            $(".flipbox").flippyReverse();
        

Options

Callbacks

You can attach function to specific events. Add your function like that.
            $(".flipbox").flippy({
                color_target: "red",
                duration: "500",
                verso: "woohoo",
                onStart: function(){
                    // Your code here
                }
             });
        

Known issues

Cross browser ?

The Flippy plugin works fine for every modern web browser except Internet Explorer 8 and before (of course…). In this demo I used the excanvas.js file to allow the use of canvas in older IE versions. You can find it here.

Licence

Released under the MIT license
Fork me on GitHub