I tried to implement jQuery Animation on my site, but accidentally after seconds, minutes or hours the animation throws an error: "Invalid property value" String 154 Char 4889 jquery-ui-1.7.2-custom.js.
Here is my code:
$(idTimer).animate({backgroundColor: '#aa0000', color: '#ffffff'}, 1000); $(idPrice).animate({backgroundColor: '#aa0000', color: '#ffffff'}, 1000); $(idTimer).animate({backgroundColor: '#ffffff', color: '#f67802'}, 1000); $(idPrice).animate({backgroundColor: '#ffffff', color: '#000000'}, 1000);
Of course, the identifiers are set correctly. When the animation freezes, the animation will no longer be done for this identifier, so it is very mysterious. Please help, urgently.
Here is the error code starting with Char 4889:
h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});
source share