"side nav"
Bootstrap 3.3.0 Snippet by maricor

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="mySidenav" class="sidenav" style="width: 0px;"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a> <div class="OPTEVERYWHERE"> <p></p><center><strong style="font-size: 45PX;font-family: CENTURY GOTHIC;">GALLBLADDER</strong></center><p></p> <p></p><center><strong style="font-size: 40PX;font-family: CENTURY GOTHIC;">DIET PLAN</strong></center><p></p> <p></p><center><strong style="font-size: 20PX;font-family: CENTURY GOTHIC;">30 DAY MENU + RECIPES</strong></center><p></p> <form action="http://news.gallbladderattack.com/" target="" class="OPTEVERYWHERE-button"> <div class="Submit"> <input name="submit" id="af-submit-image-1281725422" type="submit" value="DOWNLOAD FREE NOW" class="image btn" tabindex="501" style="width: 80%;"> </div></form> </div> </div> <span class="side-bar affix-top" data-spy="affix" data-offset-top="100" id="myAffix" style="font-size:25px;cursor:pointer" onclick="openNav()">= Free Diet Plan</span>
font-family: "Lato", sans-serif; } .affix { top:25px;} .sidenav { height: 60%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background-color: #95c638; overflow-x: hidden; transition: 0.5s; padding-top: 10px; } .sidenav a { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: #818181; display: block; transition: 0.3s } .sidenav a:hover, .offcanvas a:focus{ color: #f1f1f1; } .sidenav .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } @media screen and (max-height: 450px) { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} } .OPTEVERYWHERE { color: #fff; background: #95c638; padding-top: 15px; width: 100%; } .OPTEVERYWHERE-button .btn { color: #fff; background: #F47734; width: 100%; margin: 20px 0px 30px 40px;
function openNav() { document.getElementById("mySidenav").style.width = "400px"; } function closeNav() { document.getElementById("mySidenav").style.width = "0"; }

Related: See More


Questions / Comments: