bfintal / Counter-Up

Counter-Up is a lightweight jQuery plugin that counts up to a targeted number when the number becomes visible.
http://bfintal.github.io/Counter-Up/demo/demo.html
GNU General Public License v2.0
746 stars 722 forks source link

not work in jquery-3.3.1 #60

Open viral16d opened 6 years ago

viral16d commented 6 years ago

if im using "jquery-3.3.1" library it will not work, but if i am using "jquery.2.2.3" then it will work, so give me the solution 'How can i use in jquery-3.3.1 ??'

ebatgerel commented 6 years ago

Its working well i used it with jquery-3.3.1.min.js no problem at all.

xantari commented 6 years ago

Also not working in Jquery 3.3.1.

Looks like some deprecated features in jquery 3.3.1 make this no longer work.

image

ebatgerel commented 6 years ago

Did you try latest waypoint.js ?

viral16d commented 6 years ago

yes

On Fri, Apr 27, 2018 at 1:33 PM, Batgerel Enkhbat notifications@github.com wrote:

Did you try latest waypoint.js ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bfintal/Counter-Up/issues/60#issuecomment-384896831, or mute the thread https://github.com/notifications/unsubscribe-auth/AdsCnrGXWx52rirBimmTe9w_Ftnl97lRks5tstDkgaJpZM4SuqCJ .

ebatgerel commented 6 years ago

Hmm, that is so weird.

ahmetDev7 commented 6 years ago

So what is the fix? I still have this problem

ebatgerel commented 6 years ago

i just put scripts before the body tag close.

<script src=/resources/js/jquery-3.3.1.min.js /></script>
<script src='/resources/js/jquery.waypoints.min.j' /></script>
<script src='/resources/js/jquery.counterup.min.js' /></script>
emranweb commented 6 years ago

This is the same issue I have faced. When I used latest jquery 3.x Version it not work. But 1.x Version is working.

Now it working. I using jquery latest. Follow the link I made a repository

@viral16d @xantari @xantari follow the link

(https://github.com/emranweb/counterup)

toufikwb commented 5 years ago

same problem here

Astamul commented 5 years ago

This plugin doesn't work in latest version of jQuery 3.3.1. I had had a big deal with this plgin. It take almost 6 hours to me to fix it. Then i changed the jQuery version and it worked well.

ioandrozd commented 5 years ago

I have fix this issue with small update Waypoints - 4.0.1 /jquery.waypoints.js you can download https://github.com/emranweb/counterup/blob/master/js/jquery.waypoints.js

I use jquery-3.4.1.min.js

YoannPa commented 4 years ago

Using the updated jquery.waypoints.js from @ioandrozd fixed it for me. I am using jquery-3.2.0.min.js

HaHuynh1206 commented 4 years ago

I have fix this issue with small update Waypoints - 4.0.1 /jquery.waypoints.js you can download https://github.com/emranweb/counterup/blob/master/js/jquery.waypoints.js

I use jquery-3.4.1.min.js

Thanks you

borde14 commented 4 years ago

Use "https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js" Instead of "https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/noframework.waypoints.min.js"

BharathiBillakanti commented 3 years ago

I am using waypoint4.0.1 for lazyloading of products in productcontainer. But I am facing below error. image I am facing this error near $(this).waypoint('disable'); and $('#productContainer').waypoint('enable'); I upgraded to new jquery version3.5.1. It was working with combination of jquery2.0.0 and waypoint2.0.3.

Please help me on this error image

BharathiBillakanti commented 3 years ago

Because of this error I am not able to load some more products

BharathiBillakanti commented 3 years ago

Use "https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js" Instead of "https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/noframework.waypoints.min.js"

I tried with this updated waypoints also...

BharathiBillakanti commented 3 years ago

@ HaHuynh1206 @ ioandrozd Can u plz help me to fix