Collapse Course Timeline Accordion Style

Home Forums Legacy Support Support queries Other issues Collapse Course Timeline Accordion Style

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #248729
    bunraka
    Spectator
    Hi support team, I'd like to have the course curriculum section collapsed as default. I searched the forum and found one video link: https://screencast-o-matic.com/watch/cDhYiHinQV Also tried the code below but it's not working. It would be great if you can tell me the right code. Thank you. jQuery(document).ready(function($){ setTimeout(function(){ $('body').find('li.section').each(function(){ $(this).trigger('click'); }); },2000); });
    #248981
    Anshuman Sahu
    Keymaster
    Please add this script in your wp-admin -> wplms -> footer -> google anaylitics script :   <script>

    jQuery(window).load(function($){

    setTimeout(function(){
    $('body').find('li.section').each(function(){
    $(this).trigger('click');
    });

    },100);
    });

    </script>
    #249118
    bunraka
    Spectator
    Thanks for the reply. Unfortunately, the code didn't work. Note that the 'Course status templates' option is set to 'Full Screen'. (Screenshot: https://prnt.sc/rtelqq)
    #249212
    Veronica
    Moderator
    hi, provide your course page url with admin credentials we will take a look.
    #249216
    bunraka
    Spectator
    This reply has been marked as private.
    #249510
    Veronica
    Moderator
    hi, you need to change this setting 'Course status templates' option is set to 'Full Screen'.
    #249588
    bunraka
    Spectator
    Hi, Sorry but I think you misunderstood. The 'Course status templates' option was already set to 'Full Screen'. (Screenshot: https://prnt.sc/rtelqq)

    The issue is my first post:

    I'd like to have the course curriculum section collapsed as default. I searched the forum and found one video link:

    https://screencast-o-matic.com/watch/cDhYiHinQV

    I tried both javascript codes written on above posts but it's not working.
    #249760
    Veronica
    Moderator
    This reply has been marked as private.
    #249791
    bunraka
    Spectator
    This reply has been marked as private.
    #250149
    Jackson
    Blocked
    hello, please try this code in google analytics code. <script> jQuery(window).load(function($){ setTimeout(function(){ $('body').find('.vc_toggle.vc_toggle_simple.vc_toggle_color_default.vc_toggle_size_md').each(function(){ $(this).trigger('click'); }); },100); }); </script> alternate solution: i checked  you are using wp-bakery to create the accordion here http://soritunenglish.com/course/%ec%86%8c%eb%a6%ac%ed%8a%9c%eb%8b%9d/ then find the option there to expand the accordion by default.
    #250530
    bunraka
    Spectator
    Hi Jackson, I tried your code but it's not working. And I'm afraid you misunderstood the issue. https://screencast-o-matic.com/watch/cDhYiHinQV The above video is what I'm asking for. I'd like to have the course curriculum section collapsed as default while the 'Course status templates' option is set to 'Full Screen'. It doesn't have to do with WP-Bakery.
    #250993
    Anshuman Sahu
    Keymaster
    Well Im really sorry that cannot be automatically done as there are variety of check peroformed when user clicks on start/continue course buttons and we cant skip that .  
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Collapse Course Timeline Accordion Style’ is closed to new replies.