Skip to content

Instantly share code, notes, and snippets.

@lustdante
Last active August 29, 2015 14:17
Show Gist options
  • Save lustdante/86e2f1a1485a812c5a3a to your computer and use it in GitHub Desktop.
Save lustdante/86e2f1a1485a812c5a3a to your computer and use it in GitHub Desktop.
// source http://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<div class="wrapper" style="position:relative; z-index:1000;">
<div class="modal fade in" data-backdrop="true" data-keyboard="false"><div class="modal-dialog modal-sm"><div class="modal-content"><div class="modal-body">Test Modal</div></div></div></div>
</div>
<script id="jsbin-javascript">
$(function () {
$("div.modal").modal('show');
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment