We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd4e9e4 commit c627214Copy full SHA for c627214
Animation - Radar/index.html
@@ -0,0 +1,33 @@
1
+<!DOCTYPE html>
2
+
3
+<html>
4
+<head>
5
+ <meta charset="utf-8" />
6
+ <title>page</title>
7
+ <link rel="stylesheet" type="text/css" href="index.css">
8
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
9
+</head>
10
+<body>
11
12
+ <div id="container">
13
+ <div onmousemove="myRadar(event)" id="out">
14
+ <div id="in"></div>
15
+ <div id="radar"></div>
16
+ </div>
17
+ <div id="coordinate"></div>
18
19
20
+ <script>
21
22
+ function myRadar(event) {
23
+ let x = event.clientX;
24
+ let y = event.clientY;
25
+ let show = document.getElementById("coordinate");
26
+ show.innerHTML = "X:" + x + "  " + "Y:" + y;
27
28
+ }
29
30
+ </script>
31
32
+</body>
33
+</html>
0 commit comments