-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathindex.php
37 lines (35 loc) · 1.66 KB
/
index.php
1
<!DOCTYPE html><html manifest="manifest.php1"><head> <title>Web 2.0 Touch</title> <meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; user-scalable=no; width=device-width;" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <link rel="apple-touch-startup-image" href="images/iphone_startup.png" /> <link rel="apple-touch-icon" href="images/iphone_icon.png" /> <link id="coreCSS" type="text/css" rel="stylesheet" media="screen" href="css/core.css"> <link id="mainCSS" type="text/css" rel="stylesheet" media="screen" href="css/ipad-dark.css"> <script type="text/javascript" src="includes/jquery.js"></script> <script type="text/javascript" src="includes/jsTouch.js"></script> <script type="text/javascript" src="includes/iscroll.js"></script> <script type="text/javascript"> var myTouch; var myTouch2; $(document).ready(function () { myTouch = jsTouch.init('myTouch', { width: 320, page: 'pages/home.php' } ); myTouch2 = jsTouch.init('myTouch2', { width: -320, page: 'pages/home.php' } ); // unload page event //window.onbeforeunload = function() { return 'All unsaved data will be lost.'; } jsTouch.resize(); }); // prevent default scroll document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false); </script></head><body style="background-image: url(images/iphone_startup.png);"> <div id="myTouch" class="jsTouchPanel" style="position: absolute; left: 0px; top: 0px; border-left: 0px !important;"> </div> <div id="myTouch2" class="jsTouchPanel" style="position: absolute; left: 320px; top: 0px;"> </div> </body></html>