Untitled
1 week ago in HTML
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function somefunc(event)
{
debugger;
console.log("*************************How do we know if this onbeforeunload trigger point is click in the embeded pdf ********************");
}
</script>
</head>
<body onbeforeunload="somefunc();">
<div>
<iframe style="width: 100%; height: 100%; display: block;" id="documentPreviewPane" name="documentPreviewPane" frameborder="0">
</iframe>
<script> jQuery(document).ready(function () { var url = 'https://drive.google.com/file/d/1hbxDMPuG6CnWox92orJYvvQeTsHAb3uT/view'; jQuery('#documentPreviewPane').attr('src', url); }); </script>
</div>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19