Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
123
rated 0 times [  130] [ 7]  / answers: 1 / hits: 18756  / 11 Years ago, thu, august 8, 2013, 12:00:00

Hi all I make the easing effect for the notification bar in my wordpress Site but whenever i click the button i get the error as TypeError.
TypeError: v.easing[this.easing] is not a function
Here is the script i using now



<script src=http://code.jquery.com/jquery-1.9.1.js></script>
<script src=http://code.jquery.com/ui/1.10.3/jquery-ui.js></script>


In Previously i called the script as like this



 <script src=<?php echo site_url(); ?>/wp-includes/js/jquery/jquery.js></script>
<script src=//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js></script>


Here is the Screenshot What i face exactly.
enter



Any suggestion would be great.
I Provide the live link


More From » jquery

 Answers
8

You have two copy of jQuery file in your webpage, remove one inclusion, it would start working. I checked it in my system.



Removing line number 200 -



script type='text/javascript' src='http://techstumbling.com/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>


would work.



Explained -



You have included jQuery file in the following order -




  • jQuery - created $ and added few properties to $

  • jQuery Ui - added more properties to $

  • jQuery - created $ and overridden the jQuery UI specific properties in $


[#76456] Wednesday, August 7, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jack

Total Points: 557
Total Questions: 96
Total Answers: 80

Location: Saint Helena
Member since Mon, Jan 16, 2023
1 Year ago
;