Ефекта на екрана си го бива.
<html>
<head><title>ZEMETRESENIE!!!</title>
CODE1
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
| <script language="JavaScript">
var speed = 5 var ecount = 100 var violence = 20 var T = 0;
var num_x;
var num_y;
var positivity_x;
var positivity_y;
function randomnums()
{
positivity_x = Math.round(Math.random());
positivity_y = Math.round(Math.random());
num_x = Math.round(violence * Math.random());
num_y = Math.round(violence * Math.random());
if (positivity_x == 1){
}
else
{
num_x = -num_x;
}
if (positivity_y == 1){
}
else
{
num_y = -num_y;
}
}
function equake() {
if (T >
= ecount) {stop = true}
else {
setTimeout("window.moveBy(-num_x,-num_y)", speed);
randomnums();
setTimeout("window.moveBy(num_x,num_y)", -speed);
(X,Y)
T = eval(T + 1);
setTimeout("equake()", speed);
}
}
</script> |
</HEAD>
<BODY TEXT="#00FF00" BGCOLOR="#000000">
<center>
<font size=7 color="red" face="arial"><B><u><BR>ZEMETRSENIE!!!!!!!<BR><BR><font color="yellow" size=6>SPOKO!</B><BR><BR><font size=+1></font></font>
<P><font size=7 color="red" face="arial"><B><u><BR><a href="http://.../">OTNOVOOO!</a></B><BR><BR><font size=+1></font></font></P>
<P>Web - Stil © ilian_G ®</P>
</center>
CODE1
2
3
4
5
6
| <script language="javascript">
if (confirm ("ZEMETRESENIE!!!")){
equake();
window.status="ZEMETRESENIE!!!"}
else {window.status="no earthquake :("}
</script> |
</html>