-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathYAANI.html
More file actions
34 lines (28 loc) · 717 Bytes
/
Copy pathYAANI.html
File metadata and controls
34 lines (28 loc) · 717 Bytes
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
<!DOCTYPE html>
<html>
<body>
<p>OOF</p>
<h6>may be buggy in chrome.<h6>
<script>
var mynewwindow;
var currentWindow;
var i;
function createWindow(argX, argY, thing)
{
currentWindow = window.open(thing, "_blank", "width = 400, height= 400");
currentWindow.x = argX;
currentWindow.y = argY;
currentWindow.moveTo(argX, argY);
}
window.open("backMusic.html", "_blank", "width = 100, height= 100");
for(i = 0; i < 8; i += 1)
{
createWindow(Math.floor(Math.random() * 1000), Math.floor(Math.random() * 1000), "imgs.html");
}
for(i = 0; i < 5; i += 1)
{
createWindow(Math.floor(Math.random() * 1000), Math.floor(Math.random() * 1000), "soundz.html");
}
</script>
</body>
</html>