mattmoreno

mattmoreno

@mattmoreno

Viewing 2 replies - 1 through 2 (of 2 total)
Author
Replies
  • in reply to: Hide counter when it has ended #1396

    Hey Milan, I just finally got around to checking on this and noticed you are up to version 2.5 now in the countdown. I’m still using an older version where after the countdown hits 00:00, it appears 00:00 as you come back to the page. You mentioned that you were going to fix that. Is there any extra code that I need to include to make this work. Any help will be greatly appreciated. Here’s the call I’m using:

    jQuery(document).ready(function() {
    			    var myClock = jQuery("#my-counter-example").smartTimerCounter({
    			    	skin: "LED7Segment",
    			    	mode: "Counter",
    			    	display: {
    				    	segmentWeight: 3,
    			            labels: "hide",
    			            space: "24px",
    			            effectSkew: -1,
    			            ui_color: "rgb(255,255,255)",
    			            ui_color_transparent: "rgba(255,255,255, 0)",
    			            extraClass: "stc-led-background-dark-box"
    			    	},
    			    	model: {
    				    	layout: "Short",
    				    	method: "date",
    				    	value: new Date(<?=$tip_y?>, <?=$tip_m?>, <?=$tip_d?>, <?=$tip_hr?>, <?=$tip_min?>)	
    			    	},
    			    	callbacks: {
    				    	finished: function() {
    				            //this.core.$obj.hide();
    				            $('#counter').hide('slow');
    				        } 
    			    	}
    			    });
    			  });
    
  • in reply to: Hide counter when it has ended #1336

    Perfect this worked great. Looking forward to the update. We are using this countdown often for every event so having that check will be great as these pages are running dynamic.

    Thanks for the great plugin.

Viewing 2 replies - 1 through 2 (of 2 total)