Having trouble with the Twitter Bootstrap CSS causing my animation to open with a fade and immediately close. Not sure why this is happening, can anyone provide assistance?
Update: Turns out, the bootstrap.css file already has Modals implemented. Using both of them together is causing issues. Leaving this note for future reference.
JSFiddle Link: http://jsfiddle.net/GB9ud/
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-9">
<script src="js/jquery-1.7.1.min.js" lang="text/javascript"></script>
<script src="js/bootstrap.js" lang="text/javascript"></script>
<script src="js/bootstrap-tooltip.js" lang="text/javascript"></script>
<script src="js/main.js" lang="text/javascript"></script>
<script src="js/bootstrap-modal.js" lang="text/javascript"></script>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/bootstrap-responsive.min.css">
<title>Library Management System</title>
</head>
<body>
<a data-toggle="modal" data-book-id="1" href="#extendbook" class="btn">Extend</a>
<div id="extendbook" class="modal hide fade">
<div class="modal-header">
<a data-dismiss="modal" class="close">×</a>
<h3>Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a><a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
</body>
</html>