Вопрос

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!..^_^

Это было полезно?

Решение

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>
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top