Home Forums WoodMart support forum Hide element Count down timer Finish

Hide element Count down timer Finish

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #438584

    makexpertmodsrl
    Participant

    Hello, can you help me configure the countdown timer finish to hide css element.
    I found this code but it is not working.

    <script>jQuery( document ).ready( function ( $ ) { $(document).on( ‘countdown_expire’, function() { $( ‘#expire-download’ ).hide(); } ); } );</script>

    Thank you

    #438591

    Artem Temos
    Keymaster

    Hello,

    Try to use the following JS code to achieve this. Let me know if it works for you.

    jQuery('.wd-timer').on('finish.countdown', function(event) { jQuery(event.currentTarget).hide(); })

    Kind Regards

    #438597

    makexpertmodsrl
    Participant

    End where to put the id CSS to hide in the code?

    #438598

    Artem Temos
    Keymaster

    Sorry, what CSS id do you mean? Could you please send us some screenshot or example?

    #438599

    Artem Temos
    Keymaster

    Sorry, what CSS id do you mean? Could you please send us some screenshot or example?

    #438600

    makexpertmodsrl
    Participant

    When the countdown timer is finish right, i want the timer to dissapear an also the section elementor with image also dissapear. The section with specific class id to dissapear when finish countdown timer

    #438602

    Artem Temos
    Keymaster

    You can put your custom JS that hides the section you need after this code jQuery(event.currentTarget).hide();.

    #438603

    makexpertmodsrl
    Participant

    Look screenshot please what i need

    Attachments:
    You must be logged in to view attached files.
    #438607

    makexpertmodsrl
    Participant

    Example: jQuery( document ).ready( function ( $ ) {
    $(document).on( ‘countdown_expire’, function() {
    $( ‘#ID_OF_THE_SECTION_I_WANT_TO_HIDE’ ).hide();
    } );
    } );

    #438684

    Artem Temos
    Keymaster

    Try to use the following code

    jQuery('.wd-timer').on('finish.countdown', function(event) { 
       jQuery(event.currentTarget).hide(); 
       jQuery( '#ID_OF_THE_SECTION_I_WANT_TO_HIDE' ).hide();
    })
    • This reply was modified 1 year, 2 months ago by Artem Temos.
    #438696

    makexpertmodsrl
    Participant

    Thank you ticket close

    #438720

    Artem Temos
    Keymaster

    You are welcome. Feel free to contact us if you have any further questions.

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Hide element Count down timer Finish’ is closed to new replies.