40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>3DS T-Bone Test</title>
|
|
<meta name="description" content="3DS t-bone test">
|
|
<meta name="author" content="Ryan Westphal">
|
|
<meta name="viewport" content="width=device-width, initial-scale=2">
|
|
<link href="../css/surii.css" rel="stylesheet" type="text/css" />
|
|
<style>
|
|
h2
|
|
{
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="tbone">
|
|
<div style="background: red;">
|
|
<h1>
|
|
O hai 3DS!</h1>
|
|
<p>
|
|
Top screen!</p>
|
|
</div>
|
|
<div style="background: green;">
|
|
<h2>
|
|
Bottom screen!</h2>
|
|
<p>You get D-Pad Down without issue. You get D-Pad Right, Left and Up but the screen will scroll. You get A and single-tap. Set your meta viewport initial-scale to 2.</p>
|
|
</div>
|
|
<script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
|
|
<script type="text/javascript" src="../js/surii.js"></script>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$(window).bind("scroll", function (e) {
|
|
$("body>div:first-child").html($("body>div:first-child").html() + "scroll<br>");
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|