Pergunta

I'm trying to create a switchbutton using this method stated in this page http://olance.github.io/jQuery-switchButton/ but I encountered certain error which states, "Uncaught TypeError: Object # has no method 'easeInOutCubic' " ...what could be the problem with this?..Please help...thanks!..^_^

Foi útil?

Solução

Seem like you're missing jQuery easing plugin here, try to add this after including jQuery:

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow