Programalama > JAVA SCRIPT

Etiketler: arka, planda, uçan, harfler

Ort. 0
Puan ver:
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<script language="JavaScript">
 
<!-- Useless Message II by kurt.grigg@virgin.net
 
if (document.all){
 
  
 
yourLogo='BILGISAYAR KURDU';
 
logoFont='Arial';
 
logoColor='ffffff';
 
  
 
  
 
yourLogo=yourLogo.split('');
 
L=yourLogo.length;
 
H=0;
 
W=0;
 
R=0;
 
E=0;
 
MY=0;
 
MX=0;
 
Wd=0;
 
Hd=0;
 
F=new Array();
 
Y=new Array();
 
X=new Array();
 
S=new Array();
 
A=new Array();
 
B=new Array();
 
  
 
document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
 
for (i=0; i < L; i++)
 
document.write('<div id="ie" style="position:absolute;top:0;left:0;width:10px;height:10px;'
 
+'font-family:'+logoFont+';font-size:50px;color:'+logoColor+'">'+yourLogo[i]+'</div>');
 
document.write('</div></div>');
 
  
 
//Initial Placement!
 
function Set(){
 
for (i=0; i < L; i++){
 
H=window.document.body.offsetHeight;
 
W=window.document.body.offsetWidth;
 
A[i]=Math.round(Math.random()*H);
 
B[i]=Math.round(Math.random()*W);
 
S[i]=Math.random()*0.07+0.05;
 
R=Math.round(Math.random()*3);
 
E=Math.round(Math.random()*2500+50)
 
if (R == 3) B[i]=-E;
 
if (R == 2) B[i]=W+E;
 
if (R == 1) A[i]=-E;
 
if (R == 0) A[i]=H;
 
F[i]=W/10;
 
}
 
}
 
Set();
 
  
 
function Assign(){
 
outer.style.top=document.body.scrollTop;
 
for (i=0; i < L; i++){
 
F[i]-=S[i]*55;
 
if (F[i] < 2) F[i]=1;
 
ie[i].style.top =Y[i];
 
ie[i].style.left=X[i];
 
ie[i].style.fontSize=F[i];
 
}
 
}
 
function fly(){
 
MY=window.document.body.clientHeight/2;
 
MX=window.document.body.clientWidth/2;
 
Wd=Math.round(Math.random()*40+5);
 
Hd=Math.round(Math.random()*30+5);
 
for (i=0; i < L; i++)
 
{
 
Y[i]=A[i]+=(MY-A[i])*(S[i]);             
 
X[i]=B[i]+=(MX-B[i])*(S[i]); 
 
if ((X[i] > MX-Wd) && (X[i] < MX+Wd) && (Y[i] > MY-Hd) && (Y[i] < MY+Hd)){
 
 H=window.document.body.offsetHeight;
 
 W=window.document.body.offsetWidth;
 
 A[i]=Math.round(Math.random()*H);
 
 B[i]=Math.round(Math.random()*W);
 
 S[i]=Math.random()*0.05+0.05;
 
 R=Math.round(Math.random()*3);
 
 E=Math.round(Math.random()*50+50)
 
 if (R == 3) B[i]=-E;
 
 if (R == 2) B[i]=W+E;
 
 if (R == 1) A[i]=-E;
 
 if (R == 0) A[i]=H+E;
 
}
 
if ((X[i] < 0) || (X[i] > W) || (Y[i] < 0) || (Y[i] > H))
 
F[i]=W/10;
 
}
 
Assign();
 
setTimeout('fly()',20);
 
}
 
window.onload=fly;
 
}
 
// -->
 
</script>
 
<!-- Kaynak: Seyfy - http://sekerweb.tr.cx -->


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2025 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.