<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" lang="en-US">
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" lang="en-US">
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html lang="en-US">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>classicsalespage</title>
<link href="http://helpfulmarketingtools.com/wp-content/plugins/instabuilder2/assets/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<script type='text/javascript' src='http://helpfulmarketingtools.com/wp-includes/js/jquery/jquery.js'></script>
<script type='text/javascript' src='http://helpfulmarketingtools.com/wp-includes/js/jquery/jquery-migrate.min.js'></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
<style type="text/css">
html { overflow: auto; }
body { background-color:#666; }
html, body, iframe { margin: 0px; padding: 0px; height: 100%; border: none; }
iframe { display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden; margin:0 auto; }
</style>
<style type="text/css">
#preview-bar {
position:fixed;
top:50px;
right:20px;
display:block;
min-width:200px;
background-color:#545454;
z-index:99;
padding:8px 15px;
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.2);
box-shadow: 0 0 10px 4px rgba(0,0,0,0.2);
border:1px solid #3a3a3a;
}
.preview-mobile {
margin-top:20px;
border:1px solid #212121;
}
.devices-view {
padding-right:15px;
border-right:1px solid #3a3a3a;
}
.switch-variants {
padding:0 15px;
border-left:1px solid #666;
}
a.switch-view {
color:#FFF;
text-decoration: none;
display: inline-block;
text-align:center;
padding:5px 8px;
font-size:14px;
background-color:#3a3a3a;
-webkit-border-radius: 4px;
border-radius: 4px;
vertical-align: middle;
}
select.form-control {
width: auto;
border:1px solid #3a3a3a;
background-color:#666;
color:#F5F5F5;
padding:5px 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
</style>
</head>
<body>
<iframe name='previewFrame' id='previewFrame' src="http://helpfulmarketingtools.com/?page_id=56&variant=a&preview=true" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" scrolling="auto">
<p>Your browser does not support iframes.</p>
</iframe>
<div id="preview-bar">
<div class="devices-view" style="float:left;">
<a href="#" class="switch-view" data-type="desktop"><i class="fa fa-desktop"></i></a>
<a href="#" class="switch-view" data-type="tablet"><i class="fa fa-tablet"></i></a>
<a href="#" class="switch-view" data-type="tablet-landscape"><i class="fa fa-tablet fa-rotate-270"></i></a>
<a href="#" class="switch-view" data-type="mobile"><i class="fa fa-mobile"></i></a>
<a href="#" class="switch-view" data-type="mobile-landscape"><i class="fa fa-mobile fa-rotate-270"></i></a>
</div>
<div class="switch-variants" style="float:left;">
<select class="form-control" id="variant-switcher">
<option value="a" selected="selected">Variation A</option> </select>
</div>
<div style="clear:left"></div>
</div>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#variant-switcher').change(function(e){
var opt = $("option:selected", this).val(),
url = 'http://helpfulmarketingtools.com/wp-admin/post.php?ib2preview=56&variant=' + opt;
window.location.href = url;
});
$('.switch-view').each(function(){
$(this).click(function(e){
var $this = $(this), type = $this.data('type');
if ( type == 'tablet' ) {
$('#previewFrame').css('width', '767px');
$('#previewFrame').css('height', '1024px');
$('#previewFrame').addClass('preview-mobile');
} else if ( type == 'tablet-landscape' ) {
$('#previewFrame').css('width', '1024px');
$('#previewFrame').css('height', '767px');
$('#previewFrame').addClass('preview-mobile');
} else if ( type == 'mobile' ) {
$('#previewFrame').css('width', '320px');
$('#previewFrame').css('height', '480px');
$('#previewFrame').addClass('preview-mobile');
} else if ( type == 'mobile-landscape' ) {
$('#previewFrame').css('width', '480px');
$('#previewFrame').css('height', '320px');
$('#previewFrame').addClass('preview-mobile');
} else {
$('#previewFrame').css('width', '100%');
$('#previewFrame').css('height', '100%');
$('#previewFrame').removeClass('preview-mobile');
}
e.preventDefault();
});
});
});
</script>
</body>
</html>