Delay Progress bar animations until visable on screen
-
I’m using your progress bars and pie animations at the bottom of one of my posts but the animations start as soon as the page loads which means the animations have already finished by the time someone views them. The animation is only visible if I place them above the fold.
I’m pretty sure this is an easy fix but I wouldn’t know where to start.
Can you help me please?
One of the plugins I’m using allows me to paste Javascript in the head of any individual post/page if this is helpful at all?— SOME OFF TOPIC FEEDBACK —
BTW, I’d just like to let you know, this plugin of yours is incredible. I couldn’t believe this actually worked… I’m using a plugin called WP-Types that allows me to create custom fields/posts etc and then display the custom field data on the front-end with a shortcode. I’ve got a custom field that displays a number from 1-100 and I wanted your progress pie to display this number so thinking it would never work I tried placing the WP-Types shortcode inside of your shortcode and it worked like a charm. I couldn’t believe it.
[su_progress_pie percent="[types field="domain-auth" format="FIELD_VALUE"][/types]" after="/100"]
This allows me to use your shortcodes dynamically for a custom post type I’ve created. BRILLIANT.
- The topic ‘Delay Progress bar animations until visable on screen’ is closed to new replies.