I want to animate text using jQuery and Textillate.js but it only works once using .click()
; it needs to refresh the browser to animate the text when click. I hope someone can help.
My HTML:
<h1 class="test">Im so handome!</h1>
And this is the JavaScript
var asdf = $('.test');
asdf.click(function() {
asdf.textillate({
in: {
effect: 'bounceIn'
}
});
});
in
, and that will probably not work on clicks after it's done.