Domanda

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

È stato utile?

Soluzione

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>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top