Tue Nov 07 2017
Copied to clipboard! Copy reply
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
<style>
        .pushdown {
            display: table;
            height: 200px;
            width: 100%;
            
        }

        .pushdown > div {
            display: table-cell;
            vertical-align: middle;
        }

        .pushdown > .pushdown-left {
            width: 40%;
            background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/logo-desktop.png)  no-repeat #ecc200 right center;
            background-size: 50%;
    
        }

        .pushdown-divider {
            width: 25px;
            background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/divider.jpg) no-repeat #262626;
            background-size: contain;
        }

        .pushdown > .pushdown-right {
            background: url(https://rosettastone.com/lp/globals/img/get-on-the-list/bg-desktop.jpg) #262626;
            padding-left: 2em;
            background-size: contain;
        }
        .pushdown > .pushdown-right h3 {
            font-size: 1.5em;
            color: #fff;
            margin-top:0;
        }

        .pushdown > .pushdown-right p {
            color: #ecc200;
        }

        .pushdown-actions {
            position: relative;
            margin-top: 1em;
        }
        .pushdown > .pushdown-right input[type=email] {
            display: inline-block;
            padding: 8px;
            box-sizing: border-box;
            width: 200px;
            border: 1px solid transparent;
        }

        .pushdown > .pushdown-right input[type=submit] {
            background: transparent;
            border: 2px solid white;
            color: white;
            padding: 8px 20px;
            display: inline-block;
            transition: background-color 0.3s, color 0.3s;
        }

        .pushdown-right input[type=submit]:hover {
            background-color: #fff;
            color: #262626
        }

        .email-error {
            position: absolute;
            bottom: -25px;
            color: red;
            display: none;
        }

        @media (max-width: 600px) {
            .pushdown {
                height: auto;
            }
            .pushdown, .pushdown > div {
                display:  block;
                margin: 0 auto;
            }

            .pushdown > .pushdown-left {
                width: 100%;
            }
            
            .pushdown-actions {
                text-align: center;
                
                position: relative;
            }
            .pushdown > .pushdown-right input[type=email],
            .pushdown > .pushdown-right input[type=submit] {
                display: block;
                width: 70%;
                margin: 0 auto;
            }
            
        }
        
    </style>

    <div class="pushdown">
        <div class="pushdown-left"></div>
        <div class="pushdown-divider"></div>
        <div class="pushdown-right">
            <h3>Be the first to know</h3>
            <p>Sign up for a first look at our best Black Friday and Cyber Monday deals.</p>

            <form class="pushdown-actions">
                <input type="email" placeholder="EMAIL ADDRESS" class="pushdown-email">
                <input type="submit" value="GET ON THE LIST">
                <div class="email-error">Email is invalid</div>
            </form>
        </div>
    </div>

    <script>
        













/*
(function(){
	// build the rto and insert it invisibly into the document
	var rto = document.createElement('div');
	rto.id = 'gift_rto_container';
	rto.style.display = 'none';
	rto.innerHTML = '<div style="position:fixed; z-index:20000; top:0px; left:0px; width:100%; height:100%; text-align:center; padding-top:100px;"><div id="outside_of_rto" style="position:absolute; background:rgba(33,33,33,0.8); top:0px; left:0px; width:100%; height:100%;"></div><div style="position:relative; display:inline-block; width:500px; border:10px solid #eee; color:#333; background:#fff; padding:30px; font-family:sans-serif; font-weight:100; text-align:center; font-size:20px; box-sizing:content-box;"><div style="font-size:32px; font-weight:700;">CLAIM YOUR MYSTERY GIFT</div><div style="padding:10px 0px 20px;">ORDER NOW AND FIND OUT WHAT THE GIFT IS!</div><img src="http://www.rosettastone.com/lp/globals/img/rto/mystery_gift_icon_big.png"><div style="font-size:16px; padding:20px 0px;">ADD A LEVEL 1-5 SET, OR A 12-MONTH SUBSCRIPTION TO YOUR CART TO SEE YOUR MYSTERY GIFT</div><a href="#" id="claim_rto_button" style="display:inline-block; background:#a20; padding:15px 40px; color:#fff; text-decoration:none; border-radius:3px; font-weight:700;">CLAIM THIS OFFER</a></div></div>';
	document.body.insertBefore(rto,document.body.firstChild);
	
	// hide rto on click outside
	document.getElementById('outside_of_rto').onclick = function(){ rto.style.display='none'; };

	// handle when user claims the rto
	document.getElementById('claim_rto_button').onclick = function(){
		rto.style.display='none';
		run_rto_omiture_tracking(); // run analytics here
	};

	// track rto click event in omniture
	function run_rto_omiture_tracking(){
		s.eVar19 = "N5-" + s.pageName; // N5 means 5 second delay for a mystery gift iNvitation rto
		s.events="event55"; // Event 55 is an rto click
		s.tl(); // this sends the above variables to omniture
		delete s.events; // prevent the same event from showing up in anything else on the page
	}

	setTimeout(function(){rto.style.display='block';}, 0*1000); // show rto after 5 seconds
})();
*/
</script>