"SlideToggle "
Bootstrap 3.3.0 Snippet by naimansari

<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 class="container" id="toggle"> <div class="row"> <h2><a href="#" class="btn btn-success"> Click Here </a></h2> <div class="wrapper"> 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 a 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 a 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 a 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 a </div> </div> </div>
#toggle { text-align:center; } .wrapper { background-color:#449D44; color:#fff; padding:30px; display:none; }
$(document).ready(function(){ $("h2").click(function(){ $(".wrapper").slideToggle("slow"); }); }); $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); });

Related: See More


Questions / Comments: