JSFiddle - React, Tailwind, and code Playground
by andieje
HTML
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<div class="container theme-showcase" role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<h1>Hello, world!</h1>
<p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
<p><a href="#" class="btn btn-primary btn-lg" role="button">Learn more »</a></p>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="panel panel-default panel-alt">
<div class="panel-heading">
<div class="panel-btns">
<a href="" class="panel-close" id='close_button'>×</a>
<a href="" class="minimize">−</a>
</div><!-- panel-btns -->
<h5 class="panel-title">Panel As Modal</h5>
<p>Easily add panel inside of a modal box.</p>
</div>
<div class="panel-body">
<!-- <a href="modal_pages/modal_panel.php" class="btn btn-primary mr5" data-toggle="modal" data-target=".bs-example-modal-panel">Launch Modal</a> -->
<a href="pages/add_customer.php" class="btn btn-primary mr5" data-toggle="modal" data-target=".bs-example-modal-panel" >Launch Modal</a>
</div>
</div><!-- panel -->
</div>
<div id="myModal" class="modal fade bs-example-modal-panel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content"></div>
</div>
</div>
JavaScript
jQuery(document).ready(function(){
//
$('#myModal').on('hidden.bs.modal', function () {
alert('modal hidden');
});
});