سؤال

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