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