counter effect in unbounce with 0.1 to 1 10000 to 30,000 and 30 to 3 with threen different styles
counter animation with progressbar in counter-with-progress-bar.html
| <!-- HTML Structure for Countdown Timers --> | |
| <div class="timer_outer_wrapper bg_red" id="timer1"> | |
| <div class="timer_wrapper"> | |
| <div class="timer_value days"></div> | |
| <div class="timer_label">DAYS</div> | |
| </div> | |
| <div class="timer_wrapper"> | |
| <div class="timer_value hours"></div> | |
| <div class="timer_label">HOURS</div> | |
| </div> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <div class="timer_outer_wrapper"> | |
| <div class="timer_wrapper"> |
| <style> | |
| .tab_btn{ | |
| cursor: pointer!important; | |
| } | |
| .tab_btn:hover p span { | |
| font-weight: 700 !important; | |
| color: #2C333D !important; | |
| } | |
| .tab_btn.active_tab { | |
| border-bottom: 3px solid #6DBBA5 !important; |
| <script> | |
| var boxToAppend = '#lp-pom-box-18'; | |
| // Set to 'header' or 'footer' | |
| var headerOrFooter = 'header'; | |
| var backgroundCSS = {"position":"fixed", "left":"0", "top":"0px", "bottom":"auto", "width":"100%", "z-index":"899"}; | |
| var colorOverlayCSS = {"position":"fixed", "left":"0", "top":"0px", "bottom":"auto", "width":"100%", "z-index":"auto", "border-style":"none none none none"}; | |
| var childrenCSS = {"position":"fixed", "left":"auto", "top":"0px", "bottom":"auto", "width":"100%", "z-index":"999", "border-style":"none none none none", "border-width":"0px", "background":"none"}; | |
| <style> | |
| .number { | |
| color: #FFF; | |
| font-weight: 500; | |
| } | |
| #lp-pom-form-444 .option { | |
| position: absolute; | |
| margin-right: -5px; | |
| margin-bottom: 10px; |
| <script> | |
| /* | |
| Unbounce Community :: Tips & Scripts :: Dynamic Form Confirmation URL's Using Browser Redirects | |
| TS:0002-04-051 | |
| *********************** | |
| Do not remove this section. It helps our team track useage of external workarounds. | |
| */ | |
| var url = $("#destination"); | |
| var formDestination = document.getElementById('form_destination'); // Add ID of dropdown field |
| .slider_inner::after { | |
| position: absolute; | |
| border: 1px solid #00B2FF; | |
| border: 1px solid transparent; | |
| background: linear-gradient(to top, #00B2FF, #ffff0000) border-box; | |
| -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| top: 0px; | |
| left: 0px; |
counter effect in unbounce with 0.1 to 1 10000 to 30,000 and 30 to 3 with threen different styles
counter animation with progressbar in counter-with-progress-bar.html
Instructions
Step 1. Paste the Javascript code in the Javascript section with placement ‘Before Body End Tag’. On line 14, you have the option to set the duration of the animation (in ms).
Step 2. Create a textbox element and enter a number. This will be your starting number.
Step 3. With the text editor still open, click the ‘Source’ button.
replace src in script like https://www.youtube.com/embed/D0UnqGm_miA and your youtube placeholder here https://i.ytimg.com/vi/D0UnqGm_miA/maxresdefault.jpg