-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
executable file
·43 lines (43 loc) · 1.59 KB
/
main.html
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
<html>
<head>
<title>orientation test</title>
<script language="javascript" type="text/javascript" src="jquery-1.6.4.min.js"></script>
<script language="javascript" type="text/javascript" src="orient.js"></script>
<link href="generic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="outercontainer">
<div id="leftcontainer">
<div id="lefttitle">
Menu
</div>
<div id="leftcontent">
<ul id="leftmenu">
<li>Item One</li>
<li>Item Two</li>
<li>Item Three</li>
<li>Item Four</li>
<li>Item Five</li>
<li>Item Six</li>
</ul>
</div>
</div>
<div id="rightcontainer">
<div id="righttitle">
Content
</div>
<div id="rightcontent">
<ul id="rightitems">
<li><a onclick="doOrientation('portrait');">Portrait</a></li>
<li><a onclick="doOrientation('portraitUpsideDown');">Portrait upsidedown</a></li>
<li><a onclick="doOrientation('landscapeLeft');">Landscape left</a></li>
<li><a onclick="doOrientation('landscapeRight');">Landscape right</a></li>
</ul>
</div>
</div>
</div>
<div id="oriented">
<!-- this would normally be hidden - uncomment the #oriented class in the generic.css file to hide this -->
</div>
</body>
</html>