I would like to have a layout like below. The top header (non-sticky) and bottom notifications panel. We are planning to display scrollable text in the notifications panel. We would also like to have user to collapse this panel down, so that he can only see this when he wants to.
I tried the following markup but I am having following issues with it.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<div class="row">
<div class="col-md-12">
<h3>Heading</h3><hr/>
</div>
</div>
<div class="footer navbar-fixed-bottom">
<h4>Notifications</h4><hr/>
</div>
You can also use bootstraps collapse
Here's a simple example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<div class="row">
<div class="col-md-12">
<h3>Heading</h3><hr/>
</div>
</div>
<a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Toggle
</a>
<div id="collapseExample" class="footer navbar-fixed-bottom">
<h4>Notifications</h4><hr/>
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With