Hi,
I wanted to automatically hide the course pursue panel after 2 seconds of page opening. As I am not using ajax load for course pursue due to conflict with wp bakery plugin.
When the page goes to next unit. The course pursue panel is visible for 2 secs then hides itself automatically.
Can you please suggest code for the same
@arihant2301
Did you mean the course status page which is visible before starting the course?
If this is not what you mean then please share the screenshot
https://www.awesomescreenshot.com/image/3620451/a6fdd4e1085347666336f48572d57102
I want to automatically hid this panel after 2 secs
@arihant2301
Paste this code with the script tag in wp-admin > WPLMS > Footer > Google Analytics Code
This will hide the course panel after 5 seconds. You can increase the time by changing the milliseconds in the code
<script>
jQuery(document).ready(function($){
setTimeout(function() {
$('.course_timeline.accordion').slideUp("slow");
}, 5000);
});
</script>
I am looking to hide the main full panel, for which you already have a button to collapse
...
I think this is the code i was looking for
jQuery(document).ready(function($){
setTimeout(function() {
$('body').addClass("course_pursue_panel_hide");
}, 5000);
});
@arihant2301
Great..!!
So can we close this topic?