This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Elements</title>
<link rel="stylesheet" href="stylesheets/phone.css" type="text/css" media="screen" title="Default" />
<link rel="shortcut icon" href="favicon.png" />
<script src="scripts/jquery-2.0.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
function switchViewport(width, height)
{
$('#viewport').width(width).height(height);
$('#viewport').attr('src', 'main.html');
};
</script>
<!-- <script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42510336-1', 'pixelpimp.net');
ga('send', 'pageview');
</script>-->
</head>
<body>
<div class="align-fix"></div>
<div style="display: inline-block; vertical-align: middle;">
<div id="navigation">
Android resolutions:
<span onclick="switchViewport(640, 360)">640x360</span>
<span onclick="switchViewport(800, 480)">800x480</span>
<span onclick="switchViewport(960, 540)">960x540</span>
<span onclick="switchViewport(1920, 1080)">1920x1080</span>
<br />
iPhone resolutions:
<span onclick="switchViewport(1136, 640)">iPhone 5</span>
<span onclick="switchViewport(960, 640)">iPhone 4</span>
<span onclick="switchViewport(480, 320)">iPhone 3</span>
<span onclick="switchViewport(1024, 768)">iPad</span>
<span onclick="$('#viewport').toggleClass('shadowed');">Toggle dropshadow</span>
</div>
<iframe id="viewport" class="shadowed" src="main.html"></iframe>
<div>
This preview is for WebKit only, like Chrome or Safari! Full source available <a href="http://github.com/brandoncash/elements/">on GitHub</a>.<br />
If you have any ideas, feel free to <a href="mailto:[email protected]">let me know</a>!
</div>
</div>
</body>
</html>