"parallax scroll with background image change and carousel slider + created by ravi"
Bootstrap 3.3.0 Snippet by ravi7284007

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="firstPage" class="ha-bg-parallax main_banner " data-type="background" data-speed="10"> <div class="ha-parallax-body"> <div id="carousel-example-generic" class="carousel slide vertical text-right" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> <!-- Wrapper for slides --> <div class="container"> <div class="carousel-inner " role="listbox"> <div class="item active"> <h3 white data-wow-delay="0.1s">Defence & Power</h3> <h1 white data-wow-delay="0.2s">JUSTICE LEAGUE</h1> </div> <div class="item"> <h3 white data-wow-delay="0.1s">Save People</h3> <h1 white data-wow-delay="0.2s">Superman</h1> </div> <div class="item"> <h3 white data-wow-delay="0.1s">God is the creator of the Earth</h3> <h1 white data-wow-delay="0.2s">Ravi Singh</h1> </div> </div> </div> </div> </div> </div> <div class="container text-center"> <h2>ABOUT US</h2> <p >Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> <a href="#" class="btn btn-more wow fadeIn" >know more</a> </div>
body { height: 1000px } .ha-bg-parallax { background: url(https://scontent.fdel8-1.fna.fbcdn.net/v/t1.0-9/23621599_1243573765772587_1463122925949401168_n.jpg?oh=b6641b3c2f50526b0fa2d2046943c7aa&oe=5B12D8F4) 50% -0 no-repeat fixed; -moz-background-size: cover; -o-background-size: cover; -webkit-background-size: cover; background-size: cover; min-height: 650px; margin: 0 auto; width: 100%; display: table; vertical-align: middle; position: relative; } .ha-parallax-body { vertical-align: middle; background: rgba(0,0,0,0.45); text-align: center; color: #FFFFFF; min-height: 650px; } .vertical .carousel-inner { height: 100%; } .carousel.vertical .item { -webkit-transition: 0.6s ease-in-out top; -moz-transition: 0.6s ease-in-out top; -ms-transition: 0.6s ease-in-out top; -o-transition: 0.6s ease-in-out top; transition: 0.6s ease-in-out top; } .carousel.vertical .active { top: 0; } .carousel.vertical .next { top: 100%; } .carousel.vertical .prev { top: -100%; } .carousel.vertical .next.left, .carousel.vertical .prev.right { top: 0; } .carousel.vertical .active.left { top: -100%; } .carousel.vertical .active.right { top: 100%; } .carousel.vertical .item { left: 0; } .carousel-indicators { position: absolute; bottom: 10px; left: unset; right: 2%; z-index: 15; width: 1%; padding-left: 0; margin-left: -30%; text-align: right; list-style: none; top: 30%; } #carousel-example-generic { top: 200px; } .carousel-indicators li { float: none } #carousel-example-generic h3 { font: normal 50px poppinsregular; color: #FFFFFF; margin: 0; text-shadow: 0 0 10px #666; } #carousel-example-generic h1 { font: normal 80px/61px poppinssemibold; color: #FFFFFF; margin: 0; text-shadow: 0 0 10px #666; }
$(document).ready(function(){ var header = $('.main_banner '); var backgrounds = new Array( 'url(https://img4.goodfon.com/original/1366x768/a/4d/justice-league-superman-batman-cyborg-aquaman-womnder-woman.jpg)' , 'url(https://img3.goodfon.com/original/1366x768/3/38/left-4-dead-crossover.jpg)' , 'url(https://scontent.fdel8-1.fna.fbcdn.net/v/t1.0-9/23621599_1243573765772587_1463122925949401168_n.jpg?oh=b6641b3c2f50526b0fa2d2046943c7aa&oe=5B12D8F4)' ); var current = 0; function nextBackground() { current++; current = current % backgrounds.length; header.css('background-image', backgrounds[current]); } setInterval(nextBackground, 5000); header.css('background-image', backgrounds[0]); });

Related: See More


Questions / Comments: