"hover view file"
Bootstrap 3.0.0 Snippet by CharlesStone

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ----------> <!-- Button trigger modal --> <button class="btn btn-primary btn-lg" id="aaa" data-toggle="modal" data-target="#myModal"> Launch demo modal </button> <!-- Modal --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div class="modal-body"> <div style="text-align: center;"> <iframe src="http://utracker-int.cdmrm.com/unit_storage/PRD/WO579907.pdf" style="width:600px; height:600px;" frameborder="0"></iframe> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div>
$(document).ready(function(){ $("#aaa").mouseover(function(){ if(!$('#myModal').is(':visible')) { //alert("show"); $('#myModal').modal('show'); } }); $("#myModal").mouseout(function(){ if($('#myModal').is(':visible')) { //alert("show"); $('#myModal').modal('hide'); } }); });

Related: See More


Questions / Comments: