forked from GunioRobot/ipadpeek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (65 loc) · 2.91 KB
/
index.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<title>iPad Peek</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.url.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<link rel="shortcut icon" href="favicon.png" type="image/png" />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<div id="ipad" class="landscape">
<div id="rotate" title="Click to rotate ..."></div>
<div id="reload"></div>
<div id="kbd"></div>
<input id="url"></input>
<input id="google"></input>
<iframe id="frame"></iframe>
</div>
<div class="info" id="about">
<p>Click on the top iPad border to rotate.</p>
<p>Remember that Flash is not going to work on iPad, even though you might see it working here.</p>
<p>You can preload a page or set portrait mode by passing using URL parameters, like this: <a href="http://ipadpeek.com/?url=google.com&portrait">http://ipadpeek.com/?url=google.com&portrait</a></p>
<p>Reload button on the iPad address bar works.</p>
<p>Pages in portrait mode are scaled to 75% using CSS3 transformations, which work best in Firefox 3.5+, Chromium 5+ and Opera 10.5+ at the moment.</p>
</div>
<div class="info">
<a id="show_about" href="#">about</a> |
<a href="http://twitter.com/pavolrusnak" target="_blank">twitter</a> |
<a href="https://github.com/prusnak/ipadpeek" target="_blank">source code</a> |
<a href="mailto:[email protected]">contact</a></p>
</div>
<div class="info">
<script type="text/javascript"><!--
google_ad_client = "pub-6190451325462930";
/* 728x90, created 4/5/10 */
google_ad_slot = "0342686237";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div class="info">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="ATZ532FGVZJDC">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
<p><a href="http://flattr.com/thing/46063/iPad-Peek" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></p>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15639638-2");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>