kineticcreative123 wrote Thank you. Your right this is controlled by js. It's a LayerSlider plugin from envato. I found I was able to create a ticket so fingers crossed. |
Try the below solution if you cant find a work around. Its completley re-written and works in mobile too. (I dont know if its my connection today or your png images but they are downloading slowly. It might be my connection as Im experiencing some other slow issues.)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>White Papers</title>
<!-- FONT AWESOME LIBRARY -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- JQUERY LIBRARY -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
// SHOW/HIDE DOWNLOAD FORM
$('.download_form, .page_overlay').hide();
$('.download').css('cursor', 'pointer').click(function () {
$('.page_overlay').fadeToggle();
$('.download_form').slideToggle();
var status = $('.status').text();
if(status === "Download the white paper") {
$('.status').html('<i class="fa fa-times" aria-hidden="true"></i>');
}
else {
$('.status').html('Download the white paper');
}
});
});
</script>
<script>
// ANIMATE THE WHITE PAPERS
$(document).ready(function () {
$('.slide').each(function(index) {
var that = this;
setTimeout(function() {
$(that).addClass("animate_papers");
}, 500 * index);
});
});
</script>
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700" rel="stylesheet">
<style>
body {
background-color: #0091b3;
font-family: 'Roboto Slab', serif;
margin: 0;
}
* {
box-sizing: border-box;
}
.page_overlay {
position: fixed;
z-index: 100;
top: 0;
height: 100vh;
width: 100vw;
background-color: rgba(255, 255, 255, 0.7);
}
.white_paper_wrapper {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
width: 80%;
margin: 100px auto;
}
.white_paper_text {
position: relative;
width: 57%;
padding: 0 0 100px 0;
}
@media screen and (max-width: 1200px) {
.white_paper_text {
width: 48%;
}
}
@media screen and (max-width: 1200px) {
.white_paper_text {
width: 100%;
order: 2;
}
}
.white_paper_text h1 {
font-weight: 300;
color: #fff;
}
.white_paper_text p {
color: #fff;
padding-right: 30px;
}
.slider {
position: relative;
width: 40%;
height: 500px;
overflow: hidden;
padding: 20px 50px 20px 20px;
min-height: 600px;
}
@media screen and (max-width: 1200px) {
.slider {
width: 50%;
}
}
@media screen and (max-width: 1200px) {
.slider {
width: 100%;
order: 1;
}
}
.slide {
position: absolute;
width: 100%;
transform: translateX(100%) translateY(100%);
;
}
.slide img {
max-width: 400px;
height: auto;
box-shadow: 5px 5px 18px #b3b3b3;
}
.animate_papers {
transform: translateX(0) translateY(10%) rotate(3deg);
transition: 1s ease all;
animation: slideme 1s ease-in;
}
.slide_1 {
margin-left: 45px!important;
margin-top: 45px;
}
.slide_1 img {
box-shadow: 5px 5px 18px #005366!important;
}
.slide_2 {
margin-left: 30px!important;
margin-top: 30px;
}
.slide_3 {
margin-left: 15px!important;
margin-top: 15px;
}
@keyframes slideme {
0% {
opacity: .5;
}
100% {
opacity: 1;
}
}
/* DOWNLOAD FORM */
.download {
position: absolute;
z-index: 110;
width: 100%;
bottom: 0;
padding: 20px;
background-color: #003b49;
}
.download h5 {
font-size: 22px;
font-weight: 400;
line-height: 30px;
text-align: center;
padding: 15px;
margin: 0;
color: #fff;
}
.download p {
font-size: 22px;
line-height: 30px;
text-align: center;
padding: 0;
margin: 0;
}
.download_form form {
padding: 25px 25px 0 25px;
}
.download_form input {
font-family: 'Roboto Slab', serif;
color: #fff;
font-size: 16px;
width: 100%;
padding: 15px;
margin: 0 0 15px 0;
background-color: #0091b3;
border: none;
}
.download_form .submit {
background-color: #ffc627;
color: #000;
}
.yellow-line {
border: 3px solid #ffc627;
width: 60px;
margin: 15px 0;
}
</style>
</head>
<body>
<div class="page_overlay"></div>
<!--end page overlay-->
<div class="white_paper_wrapper">
<div class="white_paper_text">
<img style=" margin-top: 15px;" class="mobilelogo" src="http://offers.premierinc.com/rs/381-NBB-525/images/plogo.png" height="45" width="200">
<div class="yellow-line"></div>
<h1>Instantly price benchmark your capital purchases to identify savings.</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet sem ut magna
finibus pretium nec et erat. Morbi dignissim ligula nec pellentesque eleifend. Etiam sit amet
efficitur ex, vel ullamcorper neque. Nam quis maximus mauris.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet sem ut magna
finibus pretium nec et erat. Morbi dignissim ligula nec pellentesque eleifend. Etiam sit amet
efficitur ex, vel ullamcorper neque. Nam quis maximus mauris.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet sem ut magna
finibus pretium nec et erat. Morbi dignissim ligula nec pellentesque eleifend. Etiam sit amet
efficitur ex, vel ullamcorper neque. Nam quis maximus mauris.
</p>
<div class="download">
<p class="status">Download the white paper</p>
<div class="download_form">
<h5>Contact Information</h5>
<form>
<p>
<input type="text" class="input name" name="user_first name" placeholder="First Name" >
</p>
<p>
<input type="text" class="input name" name="user_last name" placeholder="Last Name">
</p>
<p>
<input type="text" class="input name" name="user_work email" placeholder="Work Email">
</p>
<p>
<input type="text" class="input name" name="user_job title" placeholder="Job Title">
</p>
<p>
<input type="text" class="input name" name="user_company" placeholder="Company">
</p>
<p>
<input type="submit" class="submit" value="Download the white paper">
</p>
</form>
</div>
<!--end download form-->
</div>
<!--end download-->
</div>
<!--end white_paper_text-->
<div class="slider">
<div class="slide slide_1">
<img width="330" src="http://offers.premierinc.com/rs/381-NBB-525/images/18286_PR_OptimalCareDelivery_V7_Page_01.png">
</div>
<!--end slide img_1-->
<div class="slide slide_2">
<img width="330" src="http://offers.premierinc.com/rs/381-NBB-525/images/18286_PR_OptimalCareDelivery_V7_Page_01.png">
</div>
<!--end slide img_2-->
<div class="slide slide_3">
<img width="330" src="http://offers.premierinc.com/rs/381-NBB-525/images/18286_PR_OptimalCareDelivery_V7_Page_01.png">
</div>
<!--end slide img_3-->
<div class="slide slide_4">
<img width="330" src="http://offers.premierinc.com/rs/381-NBB-525/images/18286_PR_OptimalCareDelivery_V7_Page_01.png">
</div>
<!--end slide img_4-->
</div>
<!--end slider-->
</div>
<!--end white_paper_wrapper-->
</body>
</html>