Home / Forums / WoodMart support forum / Hide element Count down timer Finish
Home › Forums › WoodMart support forum › Hide element Count down timer Finish
Hide element Count down timer Finish
- This topic has 11 replies, 2 voices, and was last updated 2 years, 10 months ago by
Artem Temos.
-
AuthorPosts
-
January 28, 2023 at 6:17 pm #438584
makexpertmodsrlParticipantHello, 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
January 28, 2023 at 10:07 pm #438591
Artem TemosKeymasterHello,
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
January 28, 2023 at 10:17 pm #438597
makexpertmodsrlParticipantEnd where to put the id CSS to hide in the code?
January 28, 2023 at 10:18 pm #438598
Artem TemosKeymasterSorry, what CSS id do you mean? Could you please send us some screenshot or example?
January 28, 2023 at 10:19 pm #438599
Artem TemosKeymasterSorry, what CSS id do you mean? Could you please send us some screenshot or example?
January 28, 2023 at 10:21 pm #438600
makexpertmodsrlParticipantWhen 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
January 28, 2023 at 10:23 pm #438602
Artem TemosKeymasterYou can put your custom JS that hides the section you need after this code
jQuery(event.currentTarget).hide();.January 28, 2023 at 10:27 pm #438603
makexpertmodsrlParticipantLook screenshot please what i need
Attachments:
You must be logged in to view attached files.January 28, 2023 at 10:46 pm #438607
makexpertmodsrlParticipantExample: jQuery( document ).ready( function ( $ ) {
$(document).on( ‘countdown_expire’, function() {
$( ‘#ID_OF_THE_SECTION_I_WANT_TO_HIDE’ ).hide();
} );
} );January 29, 2023 at 11:25 am #438684
Artem TemosKeymasterTry 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 2 years, 10 months ago by
Artem Temos.
January 29, 2023 at 12:23 pm #438696
makexpertmodsrlParticipantThank you ticket close
January 29, 2023 at 5:23 pm #438720
Artem TemosKeymasterYou are welcome. Feel free to contact us if you have any further questions.
-
This reply was modified 2 years, 10 months ago by
-
AuthorPosts
The topic ‘Hide element Count down timer Finish’ is closed to new replies.
- You must be logged in to create new topics. Login / Register