WPIntell

Source evidence

Animate on click

WP CountUP JS · support · 2018-10-16T18:12:00+00:00

mixedsentiment
mediumseverity
0.72relevance
4replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jamesashcroftGD resolved
Firstly, thanks for a nice and easy to use plugin. Just one thing I would like to know if it’s possible. I have an accordion on my page and I would like to have the numbers start to count up on click (and opening) of the respective accordion section. Is this possible and if so how can I achieve this? Hi, thanks to comment my plugin. I think it’s possible to achieve this, are you familiar with JavaScript? My logic says that you need to listen the accordion click and then execute a CountUp.js function to run the counter, so you need to edit a little bit my JS script. So, that gives me an idea that the counter listens to whatever action (right now works with a view action), so when the action executes then trigger the counter. I’m not able to do it right now, but I’ll consider doing it or if you do this then you can tell me to make a pull request. Sorry for the delay answer. 🙂 Thanks for getting back to me. I did manage to work it out using JS in the way you explained. Happy to post my solution if it helps. I’m glad you did it! Could you search “wp-countup-js” in GitHub and pull request with your modified code? I don’t know if I’m allowed to publish information here. Then I could integrate properly as an option or something. Thanks. 🙂 Closed due to inactivity.

Comments

4 shown
Roel Magdaleno 2018-10-23T23:53:00+00:00

Hi, thanks to comment my plugin. I think it’s possible to achieve this, are you familiar with JavaScript? My logic says that you need to listen the accordion click and then execute a CountUp.js function to run the counter, so you need to edit a little bit my JS script. So, that gives me an idea that the counter listens to whatever action (right now works with a view action), so when the action executes then trigger the counter. I’m not able to do it right now, but I’ll consider doing it or if you do this then you can tell me to make a pull request. Sorry for the delay answer. 🙂

jamesashcroftGD 2018-10-24T10:06:00+00:00

Thanks for getting back to me. I did manage to work it out using JS in the way you explained. Happy to post my solution if it helps.

Roel Magdaleno 2018-10-25T19:04:00+00:00

I’m glad you did it! Could you search “wp-countup-js” in GitHub and pull request with your modified code? I don’t know if I’m allowed to publish information here. Then I could integrate properly as an option or something. Thanks. 🙂

Roel Magdaleno 2018-12-01T19:39:00+00:00

Closed due to inactivity.