If you have modules with animations after a Tabs or a Panels (Accordion), and these elements are not animated because a change in page height occurs (technically, the Waypoint event is not instantiated correctly), you can apply the following codes, please insert the referring code inside the Theme Options → JavaScript:
Tab
<script type="text/javascript">
jQuery(window).on('load', function() {
jQuery('a[data-toggle="tab"]').on('shown.bs.tab', function(e) {
Waypoint.refreshAll();
});
});
</script>
Accordion (Panel)
<script type="text/javascript">
jQuery(window).on('load', function() {
jQuery('.panel-group').on('show.bs.collapse', function(e) {
Waypoint.refreshAll();
});
});
</script>
Comments
0 comments
Article is closed for comments.