Problem:
Add spinner before flexslider is loaded.
Solution:
1. Add this jQuery for spinner:
jQuery('#flexslider').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, sync: "#carousel", start: function() { jQuery('#flexslider').find('.loading').hide(); } });
2. Then use this in View or Content Template:
<img class="loading" style="display:block;margin:auto" src="http://www.mywebsite.com/wp-content/uploads/2017/08/gif-load.gif" alt="Loading...">
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 5 replies, has 2 voices.
Last updated by 7 years, 3 months ago.
Assisted by: Noman.