-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (26 loc) · 926 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Hello!</title>
<script src="./shake.latest.min.js" defer></script>
</head>
<body>
<button onclick="window.shake()">
Shake Me
</button>
<br /><br />
<a href="./shake.latest.js">Latest Version</a>
(<a href="./shake.latest.min.js">minified</a>)<br />
<a href="./shake.v1.0.js">v1.0</a>
(<a href="./shake.v1.0.min.js">minified</a>)<br /><br />
Simply copy the link of the one you want! Put it in a script tag and call
<code>window.shake()</code> to shake the window. Use the button above to
test it out.<br />
You can also use <code>window.shake([time])</code> to shake the window for a
period of ms.<br /><br />
©2020 Meow
</body>
</html>