Last active
June 19, 2020 18:00
-
-
Save devAsadNur/f5497c239ddab84ad3947009048f1d6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- HTML Start --> | |
| <div class="mssf-wrapper"> | |
| <div data-mssf="1" class="mssf-step-single active"> | |
| <h3 class="mssf-step-title">Are you age 40+ and carrying extra pounds you would like to eliminate | |
| quickly and safely?</h3> | |
| <div class="mssf-progress-bar"> | |
| <span class="mssf-progress-counter" style="width: 10%;"></span> | |
| </div> | |
| <div class="mssf-form"> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-1-1" name="step-1" value="#"> | |
| <label for="mssf-1-1">Yes, I just need to learn an effective way</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-1-2" name="step-1" value="#"> | |
| <label for="mssf-1-2">No</label> | |
| </div> | |
| </div> | |
| </div> | |
| <div data-mssf="2" class="mssf-step-single"> | |
| <h3 class="mssf-step-title">This one is important: How much water do you typically drink?</h3> | |
| <div class="mssf-progress-bar"> | |
| <span class="mssf-progress-counter" style="width: 40%;"></span> | |
| </div> | |
| <div class="mssf-form"> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-2-1" name="step-2" value="#"> | |
| <label for="mssf-2-1">1-2 glasses per day</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-2-2" name="step-2" value="#"> | |
| <label for="mssf-2-2">3-4 glasses per day</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-2-3" name="step-2" value="#"> | |
| <label for="mssf-2-3">More than 4 glasses per day</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-2-4" name="step-2" value="#"> | |
| <label for="mssf-2-4">Not nearly enough</label> | |
| </div> | |
| </div> | |
| </div> | |
| <div data-mssf="3" class="mssf-step-single"> | |
| <h3 class="mssf-step-title">How many different diets have you tried in the past few years that haven’t | |
| lasted?</h3> | |
| <div class="mssf-progress-bar"> | |
| <span class="mssf-progress-counter" style="width: 70%;"></span> | |
| </div> | |
| <div class="mssf-form"> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-3-1" name="step-3" value="#"> | |
| <label for="mssf-3-1">1-2 diets</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-3-2" name="step-3" value="#"> | |
| <label for="mssf-3-2">3-4 diets</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-3-3" name="step-3" value="#"> | |
| <label for="mssf-3-3">Too many to admit</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-3-4" name="step-3" value="#"> | |
| <label for="mssf-3-4">No official diets but have tried various tactics</label> | |
| </div> | |
| </div> | |
| </div> | |
| <div data-mssf="4" class="mssf-step-single"> | |
| <h3 class="mssf-step-title">Finally, have you been LIED to and led to believe that the only way to lose | |
| weight is to exercise every day and eat as little as possible?</h3> | |
| <div class="mssf-progress-bar"> | |
| <span class="mssf-progress-counter" style="width: 100%;"></span> | |
| </div> | |
| <div class="mssf-form"> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-4-1" name="step-4" value="#"> | |
| <label for="mssf-4-1">Yes</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-4-2" name="step-4" value="#"> | |
| <label for="mssf-4-2">No</label> | |
| </div> | |
| <div class="mssf-radio-single"> | |
| <input type="radio" id="mssf-4-3" name="step-4" value="#"> | |
| <label for="mssf-4-3">Yes, I’m frustrated and want to learn a better way!</label> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Multiple Step Survey Form Popup Modal Start --> | |
| <div class="mssf-popup"> | |
| <div class="mssf-popup-box"> | |
| <h2 class="mssf-popup-box-title">Your results have been analyzed</h2> | |
| <h4 class="mssf-popup-box-subtitle">Great news: you're a perfect fit</h4> | |
| <a class="mssf-popup-box-link" | |
| href="https://hop.clickbank.net/?affiliate=pippy111&vendor=leptitox&cbpage=d4"> | |
| *CLICK | |
| HERE* - TEACH ME THIS UNUSUAL "WATER HACK" METHOD <span>& Let Today Be The FIrst Step of a New Health | |
| Journey</span> | |
| </a> | |
| <p class="mssf-popup-box-text"><i class="fa_prepended fa fa-lock" contenteditable="false"></i> Your results | |
| are secure and will never be shared with anyone.</p> | |
| <!-- Multiple Step Survey Form Popup Modal End --> | |
| <!-- HTML End --> | |
| <!-- CSS Start --> | |
| <style> | |
| /* Multiple Steps Survey Form Styles */ | |
| .mssf-wrapper { | |
| box-sizing: border-box; | |
| width: 100%; | |
| } | |
| .mssf-step-single { | |
| display: none; | |
| } | |
| .mssf-step-single.active { | |
| display: block; | |
| } | |
| .mssf-step-title { | |
| font-size: 24px; | |
| margin-bottom: 25px; | |
| } | |
| .mssf-progress-bar { | |
| height: 10px; | |
| width: 100%; | |
| max-width: 100%; | |
| background-color: #ddd; | |
| position: relative; | |
| border-radius: 50px; | |
| overflow: hidden; | |
| margin-bottom: 25px; | |
| } | |
| .mssf-progress-counter { | |
| background-color: #ffcc33; | |
| display: block; | |
| height: 100%; | |
| max-width: 100%; | |
| } | |
| .mssf-form { | |
| margin-bottom: 20px; | |
| } | |
| .mssf-radio-single { | |
| padding: 15px 15px; | |
| border-radius: 3px; | |
| cursor: pointer; | |
| } | |
| .mssf-radio-single.active, | |
| .mssf-radio-single:hover { | |
| background: #ffcc33; | |
| } | |
| .mssf-radio-single input { | |
| cursor: pointer; | |
| } | |
| .mssf-radio-single label { | |
| cursor: pointer; | |
| } | |
| .input[type="radio"] { | |
| background: #ffcc33; | |
| } | |
| /* Multiple Steps Survey Form Popup Styles */ | |
| .mssf-popup { | |
| width: 100vw; | |
| height: 100vh; | |
| background: rgba(0, 0, 0, 0.55); | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| align-items: center; | |
| justify-content: center; | |
| display: none; | |
| padding: 20px; | |
| overflow: hidden; | |
| box-sizing: border-box; | |
| z-index: 9999; | |
| } | |
| .mssf-popup-box { | |
| max-width: 550px; | |
| background: #fff; | |
| text-align: center; | |
| padding: 30px 50px; | |
| border-radius: 5px; | |
| box-sizing: border-box; | |
| } | |
| .mssf-popup-box-title { | |
| font-size: 28px; | |
| font-weight: 700; | |
| line-height: 1.4; | |
| text-transform: uppercase; | |
| max-width: 320px; | |
| margin: 0 auto 20px; | |
| color: #333; | |
| } | |
| .mssf-popup-box-subtitle { | |
| font-size: 26px; | |
| color: #333; | |
| margin-bottom: 20px; | |
| } | |
| .mssf-popup-box-link { | |
| color: #fff; | |
| background: rgba(66, 218, 1, 1); | |
| border: 3px solid rgba(0, 0, 0, 0.3); | |
| font-size: 20px; | |
| font-weight: 600; | |
| line-height: 1.5; | |
| text-transform: uppercase; | |
| text-decoration: none; | |
| display: block; | |
| width: 100%; | |
| margin-bottom: 20px; | |
| padding: 10px 25px; | |
| box-sizing: border-box; | |
| border-radius: 3px; | |
| } | |
| .mssf-popup-box-link:hover { | |
| background: rgba(66, 218, 1, .8); | |
| color: #fff; | |
| } | |
| .mssf-popup-box-link span { | |
| display: block; | |
| font-size: 14px; | |
| font-weight: 400; | |
| text-transform: none; | |
| color: #f0f0f0; | |
| } | |
| .mssf-popup-box-text { | |
| font-size: 12px; | |
| color: #333; | |
| } | |
| .mssf-popup-box-text .fa-lock { | |
| font-size: 14px; | |
| } | |
| /* Mobile Layout: 360px to 767px. */ | |
| @media only screen and (max-width: 767px) { | |
| .mssf-popup { | |
| padding: 0; | |
| } | |
| .mssf-popup-box { | |
| padding: 30px 20px; | |
| } | |
| } | |
| </style> | |
| <!-- CSS End --> | |
| <!-- JS Start --> | |
| <script type="text/javascript"> | |
| (function ($, w) { | |
| "use strict"; | |
| jQuery(document).ready(function ($) { | |
| var popup = $('.mssf-popup'); | |
| var popup_box_link = popup.find('.mssf-popup-box-link'); | |
| var single = $('.mssf-step-single'); | |
| var input_wrap = single.find('.mssf-radio-single'); | |
| input_wrap.on('click', function (e) { | |
| e.preventDefault; | |
| var input = $(this).find('input'); | |
| var parent = $(this).closest('.mssf-step-single'); | |
| var parent_next = parent.next(); | |
| input.prop("checked", true); | |
| if (parent_next.length) { | |
| parent.removeClass('active') | |
| parent_next.addClass('active'); | |
| } else { | |
| popup.css('display', 'flex'); | |
| } | |
| }); | |
| popup.on('click', function (e) { | |
| e.preventDefault; | |
| if (e.target === popup[0]) { | |
| popup.removeAttr("style"); | |
| } | |
| }); | |
| }); | |
| })(jQuery, window); | |
| </script> | |
| <!-- JS End --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment