"Animate Menu - Demo"
Bootstrap 3.1.0 Snippet by escapedlion

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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"> <div class="row"> <div class="col-md-12"> <br> <nav class="navbar navbar-default" role="navigation"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="navbar-btn navbar-right" style="margin-right:10px;"> <div class="dropdown"> <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="label-icon">Menu</span> </a> <ul class="dropdown-menu open" style="padding: 15px;min-width: 250px;"> <li> <div class="row"> <div class="col-md-12"> <form class="form" role="form" method="post" action="" accept-charset="UTF-8" id="form2"> <legend>User Alerts</legend> <div class="form-group"> <label class="sr-only" for="exampleInputEmail2">Email address</label> <input type="email" class="form-control" id="exampleInputEmail2" placeholder="Email address" required> </div> <div class="form-group"> <label class="sr-only" for="exampleInputPassword2">Password</label> <input type="password" class="form-control" id="exampleInputPassword2" placeholder="Password" required> </div> <div class="checkbox"> <label> <input type="checkbox"> Remember me </label> </div> <div class="form-group"> <button type="submit" class="btn btn-success btn-block">Sign in</button> </div> </form> </div> </div> </li> <li class="divider"></li> <li> <input class="btn btn-primary btn-block" type="button" id="sign-in-google" value="Sign In with Google"> <input class="btn btn-primary btn-block" type="button" id="sign-in-twitter" value="Sign In with Twitter"> </li> </ul> </div> </div> </div> <!-- /.navbar-collapse --> </nav> <div class="row"> <div class="col-md-2"> <h3>Alerts</h3> <p><button type="button" class="demo btn btn-info btn-block" data-animation="flash"><i class="icon-play"></i> Flash</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="bounce"><i class="icon-play"></i> Bounce</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="shake"><i class="icon-play"></i> Shake</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="tada"><i class="icon-play"></i> Tada</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="swing"><i class="icon-play"></i> Swing</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="wobble"><i class="icon-play"></i> Wobble</button><br /> <button type="button" class="demo btn btn-info btn-block" data-animation="pulse"><i class="icon-play"></i> Pulse</button></p> </div> <div class="col-md-2"> <h3>Entrances</h3> <p><button type="button" class="demo btn btn-success btn-block" data-animation="flipInX"><i class="icon-play"></i> FlipInX</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="fadeIn"><i class="icon-play"></i> FadeIn</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="slideInDown"><i class="icon-play"></i> SlideInDown</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="bounceIn"><i class="icon-play"></i> BounceIn</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="rotateIn"><i class="icon-play"></i> RotateIn</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="lightSpeedIn"><i class="icon-play"></i> LightSpeedIn</button><br /> <button type="button" class="demo btn btn-success btn-block" data-animation="rollIn"><i class="icon-play"></i> RollIn</button></p> </div> <div class="col-md-2"> <h3>Exits</h3> <p><button type="button" class="demo btn btn-danger btn-block" data-animation="flipOutX"><i class="icon-play"></i> FlipOutX</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="fadeOut"><i class="icon-play"></i> FadeOut</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="slideOutUp"><i class="icon-play"></i> SlideOutUp</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="bounceOut"><i class="icon-play"></i> BounceOut</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="rotateOut"><i class="icon-play"></i> RotateOut</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="lightSpeedOut"><i class="icon-play"></i> LightSpeedOut</button><br /> <button type="button" class="demo btn btn-danger btn-block" data-animation="rollOut"><i class="icon-play"></i> RollOut</button></p> <link rel="stylesheet" type="text/css" href="http://julienrenaux.fr/css/animate.min.css" /> </div> </div> </div> </div>
$(function() { $('.demo').click(function(e) { $('.dropdown').addClass('open'); var button = $(this); button.addClass(button.data('animation') + ' animated'); setTimeout(function() { $('.dropdown').removeClass('open'); button.removeClass(button.data('animation') + ' animated'); },1000); }) });

Related: See More


Questions / Comments: