-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipad_frame.php
48 lines (40 loc) · 1.06 KB
/
ipad_frame.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!doctype html>
<html>
<head>
<base target="_parent">
<meta id="viewport" name="viewport" content ="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script src="/js/jquery.stayInWebApp.min.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type "text/javascript">
$(document).ready(function() {
$(function() {
$.stayInWebApp('a.stay');
});
});
$(function() {
$.stayInWebApp();
});
$(document).bind('touchmove', false);
function stopScrolling( touchEvent ) { touchEvent.preventDefault(); }
document.addEventListener( 'touchstart' , stopScrolling , false );
document.addEventListener( 'touchmove' , stopScrolling , false );
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background: #7e7e7e;
}
iframe {
overflow: hidden;
}
-->
</style>
</head>
<body>
<iframe name="ipad" src="/splash.php" width="1024px" height="768px" scrolling="no" frameborder="0"> </iframe>
</body>
</html>