Here’s my code:
'$(".hoverfront").mouseenter(function () {'
var elem = $(this);
elem.flip({
direction: 'lr',
color: 'red',
speed: 700,
content: $(".description"),
onBefore: function(){
$(this).removeClass('hoverfront');
$(this).addClass('back');
}
});
}).mouseleave(function () {
$(".back").revertFlip();
});
http://jsfiddle.net/mornaistar/eHfUa/
My click event works well, but my hover event is just messing my head, what am i doing wrong?
Updated your code. See the JSFiddle demo here
Issues were
revertFlip