Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Animate method not working using easeofBounce Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Animate method not working using easeofBounce" Watch "Animate method not working using easeofBounce" New topic
Author

Animate method not working using easeofBounce

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 973



test12345.js



The above mentioned Jquery is not working in this scenario Where Am i going wrong...

I got some error message when using firefox

error msg:

f.easing[i.animatedProperties[this.prop]] is not a function
clone()


http://www.lifesbizzare.blogspot.com || OCJP:81%
Joseph Mokenela
Ranch Hand

Joined: Jan 18, 2011
Posts: 58

Try to put the scripts declarations inside the head tags instead of the body tag.
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 973

Nope thats not helping either
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56230
    
  13

What error appeared in the JavaScript console when you looked?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 973

The error was as follows:
f.easing[i.animatedProperties[this.prop]] is not a function
clone()
Joseph Mokenela
Ranch Hand

Joined: Jan 18, 2011
Posts: 58

Try to import JQueryUI also. I think that function might be in JQueryUI.
Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 973

Joseph Mokenela wrote:Try to import JQueryUI also. I think that function might be in JQueryUI.


Dear Joseph,

You mean I need to download some kind of a plugin to get this work?
Joseph Mokenela
Ranch Hand

Joined: Jan 18, 2011
Posts: 58

Yes, and you can find it on the following link
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56230
    
  13

In other words, the easing function that you are trying to use is not part of core jQuery. Why are you using that particular easing? Or are you just copying something you saw on the web?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Animate method not working using easeofBounce
 
Similar Threads
Getting duplicate values on the onChange event of dropdown list
my jquery script is not executing
Not able to hide a sentence using jquery
jQuery.getJSON callback not executing
my overlay box works in Firefox, but fails in IE8