This repository has been archived by the owner on Dec 5, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
89 lines (77 loc) · 2.74 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html><head><title>Demos by Ariya Hidayat</title>
<meta name="viewport" content="width=device-width maximum-scale=1 initial-scale=1 user-scalable=no">
<link rel="stylesheet" type="text/css" href="style.css"/>
<script>
function hideAddressBar() {
window.setTimeout(function () {
window.scrollTo(0, 1);
// Android workaround
window.setTimeout(function () {
if (window.scrollY <= 0) {
window.setTimeout(function () {
window.scrollTo(0, 1);
}, 300);
}
}, 100);
}, 0);
}
window.addEventListener("load", function () {
hideAddressBar();
});
</script>
</head>
<body>
<h1>web technologies test cases</h1>
<p class="header"><span>twitter: <a href="http://twitter.com/ariyahidayat">@ariyahidayat</a>
blog: <a href="http://ariya.ofilabs.com">ariya.ofilabs.com</a></span></p>
<h2>Browser</h2>
<ul>
<li><a href="js/useragent">User agent</a></li>
<li><a href="browser/viewport">Viewport dimension</a></li>
<li><a href="browser/features">Detected features</a></li>
<li><a href="js/timerspeed">Timer speed</a></li>
</ul>
<h2>HTML5</h2>
<ul>
<li><a href="html/webfont/">Web font</a></li>
<li><a href="canvas/crossfading">Pixel crossfading</a></li>
<li><a href="canvas/underwater">Underwater effect</a></li>
<li><a href="html/geolocation">Geolocation</a></li>
<li><a href="js/touchdetect">Touch event</a></li>
<li><a href="app/offline/">Offline webapp</a></li>
<li><a href="device/compass">Magnetic compass</a></li>
<li><a href="js/accelerometer">Accelerometer viewer</a></li>
<li><a href="js/devicemotion">Device motion</a></li>
<li><a href="js/deviceorientation">Device orientation</a></li>
<li><a href="js/orientation">Landscape vs portrait</a></li>
</ul>
<h2>CSS3</h2>
<ul>
<li><a href="css/spinningcube">Spinning cube</a></li>
<li><a href="css/scrolling">Scrolling 3-D</a></li>
<li><a href="css/shadow">Box and text shadow</a></li>
<li><a href="css/glowingtext">Glowing text</a></li>
<li><a href="css/overflow-scroll">overflow:scroll</a></li>
<li><a href="css/continuity">Animation continuity</a></li>
<li><a href="css/clock">Morphing clock</a></li>
</ul>
<h2>JavaScript</h2>
<ul>
<li><a href="js/whatistomorrow">What is tomorrow?</a></li>
<li><a href="js/random">Random numbers</a></li>
</ul>
<h2>SVG</h2>
<ul>
<li><a href="svg/tiger.svg">Tiger</a></li>
<li><a href="svg/lena.svg">Lena</a></li>
<li><a href="svg/worldmap.svg">World map</a></li>
<li><a href="svg/imperialcoat.svg">Imperial coat</a></li>
</ul>
<h2>Demo apps</h2>
<ul>
<li><a href="kinetic/">Kinetic scrolling</a></li>
<li><a href="js/marblebox">Box of marbles</a></li>
</ul>
</body>
</html>