dEatH
04-22-2007, 10:13
1- Arka planda yağan yıldızlarla ilgi çekici bir görüntü oluşturabilirsiniz.
<!--
<div style="position:relative"> - Rest of page - </div>
-->
<script language="JavaScript">
<!-- 3D Space Trip Script by Onderkarsli@hotmail.com
Nstars=15;
Y=new Array();
X=new Array();
Sstars=new Array();
Dstars=new Array();
Brwsr=(document.layers)?1:0;
iH=(document.layers)?window.innerHeight:window.doc ument.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.docu ment.body.clientWidth;
offvis=(document.layers)?'hide':'hidden';
onvis=(document.layers)?'show':'visible';
for (i=0; i < Nstars;i++)
{
Y[i]=iH/2;
X[i]=iW/2;
Dstars[i]=Math.round(Math.random()*360);
Sstars[i]=Math.round(Math.random()*5+2);
}
if (Brwsr){
for (i=0; i < Nstars;i++)
document.write("<LAYER NAME='nstar"+i+"' TOP=0 LEFT=0 BGCOLOR=#aaaaaa WIDTH=1 HEIGHT=1></LAYER>");
}
else{
document.write('<div id="Outer" style="position:absolute"><div style="position:relative">');
for (i=0; i < Nstars;i++)
{document.write('<div id="istar" style="position:absolute;width:1px;height:1px;background: #aaaaaa;font-size:1px"></div>')}
document.write('</div></div>');
}
function fly(){
H=(document.layers)?window.innerHeight:window.docu ment.body.clientHeight;
W=(document.layers)?window.innerWidth:window.docum ent.body.clientWidth;
hscrll=(document.layers)?window.pageYOffset:docume nt.body.scrollTop;
wscrll=(document.layers)?window.pageXOffset:docume nt.body.scrollLeft;
for (i=0; i < Nstars;i++){
var layer=(document.layers)?document.layers["nstar"+i]:istar[i].style;
Sstars[i]+=0.3;
//Dstars[i]+=2; //Can spin using this!!
Y[i]+=Math.round(Sstars[i]*Math.sin(Dstars[i]*Math.PI/180));
X[i]+=Math.round(Sstars[i]*Math.cos(Dstars[i]*Math.PI/180));
if ((Y[i] > H) || (Y[i] < 0 ) || (X[i] > W) || (X[i] < 0))
{
Y[i]=H/2;
X[i]=W/2;
Dstars[i]=Math.round(Math.random()*360);
Sstars[i]=Math.round(Math.random()*5+2);
}
layer.top=Y[i]+hscrll;
layer.left=X[i]+wscrll;
if ((X[i] < W/2-W/8) || (X[i] > W/2+W/8) || (Y[i] < H/2-H/8) || (Y[i] > H/2+H/8))
{
if (Brwsr) {layer.bgColor='cccccc';layer.clip.height=2;layer. clip.width=2}
else {layer.background='cccccc';layer.height=2;layer.wi dth=2;layer.fontSize=2}
}
if ((X[i] < W/2-W/6) || (X[i] > W/2+W/6) || (Y[i] < H/2-H/6) || (Y[i] > H/2+H/6))
{
if (Brwsr) layer.bgColor='dddddd';
else layer.background='dddddd';
}
if ((X[i] < W/2-W/2.5) || (X[i] > W/2+W/2.5) || (Y[i] < H/2-H/2.5) || (Y[i] > H/2+H/2.5))
{
if (Brwsr){layer.bgColor='ffffff';layer.clip.height=3 ;layer.clip.width=3}
else {layer.background='ffffff';layer.height=3;layer.wi dth=3;layer.fontSize=3}
}
if ((X[i] < (W/2)-10 ) || (X[i] > W-(W/2)+10 ) || (Y[i] < (H/2)-10) || (Y[i] > H-(H/2)+10))
layer.visibility=onvis;
else{
layer.visibility=offvis;
if (Brwsr){layer.bgColor='aaaaaa';layer.clip.height=1 ;layer.clip.width=1}
else {layer.background='aaaaaa';layer.height=1;layer.wi dth=1;layer.fontSize=1}
}
}
setTimeout('fly()',10);
}
window.onload=fly;
//-->
</script>
2- Sayfanızın zemininde havai fişekler patlatmak ister misiniz?
<script language="JavaScript">
<!-- IE4+, NS4+, NS6 Fireworks script by Onderkarsli@hotmail.com
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ff a500','#ffff00','#00ff00',
'#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#ff fffF')
Xpos=130;
Ypos=130;
I='#00ff00';
C=0;
S=5;
H=null;
W=null;
Y=null;
NS4=(document.layers);
NS6=(document.getElementById&&!document.all);
IE4=(document.all);
A=14;
E=120;
L=null;
if (NS4){
for (i=0; i < A; i++)
document.write('<LAYER NAME="nsstars'+i+'" TOP=0 LEFT=0 BGCOLOR='+I+' CLIP="0,0,2,2"></LAYER>');
}
if (NS6){
window.document.body.style.overflow='hidden';
for (i=0; i < A; i++)
document.write('<div id="ns6stars'+i+'" style="position:absolute;top:0px;left:0px;height:2px;widt h:2px;font-size:2px;background:'+I+'"></div>');
}
if (IE4){
document.write('<div id="ie" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < A; i++)
document.write('<div id="iestars" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.bo dy.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.bod y.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.bo dy.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars[i].style;
if (NS4)L=document.layers["nsstars"+i];
if (NS6)L=document.getElementById("ns6stars"+i).style;
var F=Math.floor(Math.random()*CL.length);
var RS=Math.round(Math.random()*2);
L.top = Ypos + E*Math.sin((C+i*5)/3)*Math.sin(C/100)
L.left= Xpos + E*Math.cos((C+i*5)/3)*Math.sin(C/100)
if (C < 110){
if (NS4){L.bgColor=I;L.clip.width=1;L.clip.height=1}
if (IE4||document.getElementById)
{L.background=I;L.width=1;L.height=1;L.fontSize=1}
}
else{
if (NS4){L.bgColor=CL[F];L.clip.width=RS;L.clip.height=RS}
if (IE4||document.getElementById){L.background=CL[F];L.width=
RS;L.height=RS;L.fontSize=RS}
}
}
if (C > 220){
C=0;
var NC=Math.floor(Math.random()*CL2.length);
I=CL2[NC];
E=Math.round(100+Math.random()*50);
Ypos = E+Math.round(Math.random()*(H-(E*2.2)))+Y;
Xpos = E+Math.round(Math.random()*(W-(E*2.2)));
}
C+=S;
setTimeout("Fireworks()",10);
}
Fireworks();
// -->
</script>
<!-- End of Fireworks -->
3- Arka planda dönen bir daire
<script language="JavaScript">
<!-- Multi-Fx1 Script by Onderkarsli@hotmail.com
dots=new Array('ff0000','00ff00','3366ff','ff00ff','ffa500' ,'ffffff','fff000');
n=dots.length;
e=360/n;
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
d=(n4||ie)?'document.':'document.getElementById("';
a=(n4||n6)?'':'all.';
r=(n6)?'")':'';
s=(n4)?'':'.style';
y=0;
x=0;
c1=0.1;
cs1=0;
c2=0.1;
cs2=0;
b=70;
if (n4){
for (i=0; i < n; i++)
document.write('<layer name="stars'+i+'" bgcolor='+dots[i]+' clip="0,0,2,2"></layer>');
}
else{
for (i=0; i < n; i++)
document.write('<span id="stars'+i+'" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:#'+dots[i]+';font-size:2px"></span>');
}
function fly(){
h=(n4||n6)?window.innerHeight:document.body.offset Height;
w=(n4||n6)?window.innerWidth:document.body.offsetW idth;
sy=(n4||n6)?window.pageYOffset:document.body.scrol lTop;
sx=(n4||n6)?window.pageXOffset:document.body.scrol lLeft;
v=(n4||n6)?3:3;
y=sy+h/2+h/v*Math.cos((cs2)/3)*Math.cos(cs2/50);
x=sx+w/2+w/2.4*Math.sin((cs2)/5)*Math.cos(cs2/30);
cs2+=c2;
}
function TwistnSpin(){
for (i=0; i < n; i++){
var divs=eval(d+a+"stars"+i+r+s);
divs.top=y+b*Math.cos(cs1+i*e*Math.PI/180)*Math.cos(cs1/1.5);
divs.left=x+b*Math.sin(cs1+i*e*Math.PI/180);
}
cs1+=c1;
fly();
setTimeout("TwistnSpin()",10);
}
function In(){
b-=0.5;
t1=setTimeout('In()',10);
if (b < 20){clearTimeout(t1);out()}
}
function out(){
b+=0.5;
t2=setTimeout('out()',10);
if (b > 70){clearTimeout(t2);In()}
}
function Go(){TwistnSpin();In()}
Go();
// -->
</script>
4- Bu script ile sayfanızın arka planında kar yağıyor havası verebilirsiniz.
<script language="JavaScript">
<!-- Multi-Fx1 Script by Onderkarsli@hotmail.com
dots=new Array('ff0000','00ff00','3366ff','ff00ff','ffa500' ,'ffffff','fff000');
n=dots.length;
e=360/n;
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
d=(n4||ie)?'document.':'document.getElementById("';
a=(n4||n6)?'':'all.';
r=(n6)?'")':'';
s=(n4)?'':'.style';
y=0;
x=0;
c1=0.1;
cs1=0;
c2=0.1;
cs2=0;
b=70;
if (n4){
for (i=0; i < n; i++)
document.write('<layer name="stars'+i+'" bgcolor='+dots[i]+' clip="0,0,2,2"></layer>');
}
else{
for (i=0; i < n; i++)
document.write('<span id="stars'+i+'" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:#'+dots[i]+';font-size:2px"></span>');
}
function fly(){
h=(n4||n6)?window.innerHeight:document.body.offset Height;
w=(n4||n6)?window.innerWidth:document.body.offsetW idth;
sy=(n4||n6)?window.pageYOffset:document.body.scrol lTop;
sx=(n4||n6)?window.pageXOffset:document.body.scrol lLeft;
v=(n4||n6)?3:3;
y=sy+h/2+h/v*Math.cos((cs2)/3)*Math.cos(cs2/50);
x=sx+w/2+w/2.4*Math.sin((cs2)/5)*Math.cos(cs2/30);
cs2+=c2;
}
function TwistnSpin(){
for (i=0; i < n; i++){
var divs=eval(d+a+"stars"+i+r+s);
divs.top=y+b*Math.cos(cs1+i*e*Math.PI/180)*Math.cos(cs1/1.5);
divs.left=x+b*Math.sin(cs1+i*e*Math.PI/180);
}
cs1+=c1;
fly();
setTimeout("TwistnSpin()",10);
}
function In(){
b-=0.5;
t1=setTimeout('In()',10);
if (b < 20){clearTimeout(t1);out()}
}
function out(){
b+=0.5;
t2=setTimeout('out()',10);
if (b > 70){clearTimeout(t2);In()}
}
function Go(){TwistnSpin();In()}
Go();
// -->
</script>
<!--
<div style="position:relative"> - Rest of page - </div>
-->
<script language="JavaScript">
<!-- 3D Space Trip Script by Onderkarsli@hotmail.com
Nstars=15;
Y=new Array();
X=new Array();
Sstars=new Array();
Dstars=new Array();
Brwsr=(document.layers)?1:0;
iH=(document.layers)?window.innerHeight:window.doc ument.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.docu ment.body.clientWidth;
offvis=(document.layers)?'hide':'hidden';
onvis=(document.layers)?'show':'visible';
for (i=0; i < Nstars;i++)
{
Y[i]=iH/2;
X[i]=iW/2;
Dstars[i]=Math.round(Math.random()*360);
Sstars[i]=Math.round(Math.random()*5+2);
}
if (Brwsr){
for (i=0; i < Nstars;i++)
document.write("<LAYER NAME='nstar"+i+"' TOP=0 LEFT=0 BGCOLOR=#aaaaaa WIDTH=1 HEIGHT=1></LAYER>");
}
else{
document.write('<div id="Outer" style="position:absolute"><div style="position:relative">');
for (i=0; i < Nstars;i++)
{document.write('<div id="istar" style="position:absolute;width:1px;height:1px;background: #aaaaaa;font-size:1px"></div>')}
document.write('</div></div>');
}
function fly(){
H=(document.layers)?window.innerHeight:window.docu ment.body.clientHeight;
W=(document.layers)?window.innerWidth:window.docum ent.body.clientWidth;
hscrll=(document.layers)?window.pageYOffset:docume nt.body.scrollTop;
wscrll=(document.layers)?window.pageXOffset:docume nt.body.scrollLeft;
for (i=0; i < Nstars;i++){
var layer=(document.layers)?document.layers["nstar"+i]:istar[i].style;
Sstars[i]+=0.3;
//Dstars[i]+=2; //Can spin using this!!
Y[i]+=Math.round(Sstars[i]*Math.sin(Dstars[i]*Math.PI/180));
X[i]+=Math.round(Sstars[i]*Math.cos(Dstars[i]*Math.PI/180));
if ((Y[i] > H) || (Y[i] < 0 ) || (X[i] > W) || (X[i] < 0))
{
Y[i]=H/2;
X[i]=W/2;
Dstars[i]=Math.round(Math.random()*360);
Sstars[i]=Math.round(Math.random()*5+2);
}
layer.top=Y[i]+hscrll;
layer.left=X[i]+wscrll;
if ((X[i] < W/2-W/8) || (X[i] > W/2+W/8) || (Y[i] < H/2-H/8) || (Y[i] > H/2+H/8))
{
if (Brwsr) {layer.bgColor='cccccc';layer.clip.height=2;layer. clip.width=2}
else {layer.background='cccccc';layer.height=2;layer.wi dth=2;layer.fontSize=2}
}
if ((X[i] < W/2-W/6) || (X[i] > W/2+W/6) || (Y[i] < H/2-H/6) || (Y[i] > H/2+H/6))
{
if (Brwsr) layer.bgColor='dddddd';
else layer.background='dddddd';
}
if ((X[i] < W/2-W/2.5) || (X[i] > W/2+W/2.5) || (Y[i] < H/2-H/2.5) || (Y[i] > H/2+H/2.5))
{
if (Brwsr){layer.bgColor='ffffff';layer.clip.height=3 ;layer.clip.width=3}
else {layer.background='ffffff';layer.height=3;layer.wi dth=3;layer.fontSize=3}
}
if ((X[i] < (W/2)-10 ) || (X[i] > W-(W/2)+10 ) || (Y[i] < (H/2)-10) || (Y[i] > H-(H/2)+10))
layer.visibility=onvis;
else{
layer.visibility=offvis;
if (Brwsr){layer.bgColor='aaaaaa';layer.clip.height=1 ;layer.clip.width=1}
else {layer.background='aaaaaa';layer.height=1;layer.wi dth=1;layer.fontSize=1}
}
}
setTimeout('fly()',10);
}
window.onload=fly;
//-->
</script>
2- Sayfanızın zemininde havai fişekler patlatmak ister misiniz?
<script language="JavaScript">
<!-- IE4+, NS4+, NS6 Fireworks script by Onderkarsli@hotmail.com
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ff a500','#ffff00','#00ff00',
'#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#ff fffF')
Xpos=130;
Ypos=130;
I='#00ff00';
C=0;
S=5;
H=null;
W=null;
Y=null;
NS4=(document.layers);
NS6=(document.getElementById&&!document.all);
IE4=(document.all);
A=14;
E=120;
L=null;
if (NS4){
for (i=0; i < A; i++)
document.write('<LAYER NAME="nsstars'+i+'" TOP=0 LEFT=0 BGCOLOR='+I+' CLIP="0,0,2,2"></LAYER>');
}
if (NS6){
window.document.body.style.overflow='hidden';
for (i=0; i < A; i++)
document.write('<div id="ns6stars'+i+'" style="position:absolute;top:0px;left:0px;height:2px;widt h:2px;font-size:2px;background:'+I+'"></div>');
}
if (IE4){
document.write('<div id="ie" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < A; i++)
document.write('<div id="iestars" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.bo dy.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.bod y.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.bo dy.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars[i].style;
if (NS4)L=document.layers["nsstars"+i];
if (NS6)L=document.getElementById("ns6stars"+i).style;
var F=Math.floor(Math.random()*CL.length);
var RS=Math.round(Math.random()*2);
L.top = Ypos + E*Math.sin((C+i*5)/3)*Math.sin(C/100)
L.left= Xpos + E*Math.cos((C+i*5)/3)*Math.sin(C/100)
if (C < 110){
if (NS4){L.bgColor=I;L.clip.width=1;L.clip.height=1}
if (IE4||document.getElementById)
{L.background=I;L.width=1;L.height=1;L.fontSize=1}
}
else{
if (NS4){L.bgColor=CL[F];L.clip.width=RS;L.clip.height=RS}
if (IE4||document.getElementById){L.background=CL[F];L.width=
RS;L.height=RS;L.fontSize=RS}
}
}
if (C > 220){
C=0;
var NC=Math.floor(Math.random()*CL2.length);
I=CL2[NC];
E=Math.round(100+Math.random()*50);
Ypos = E+Math.round(Math.random()*(H-(E*2.2)))+Y;
Xpos = E+Math.round(Math.random()*(W-(E*2.2)));
}
C+=S;
setTimeout("Fireworks()",10);
}
Fireworks();
// -->
</script>
<!-- End of Fireworks -->
3- Arka planda dönen bir daire
<script language="JavaScript">
<!-- Multi-Fx1 Script by Onderkarsli@hotmail.com
dots=new Array('ff0000','00ff00','3366ff','ff00ff','ffa500' ,'ffffff','fff000');
n=dots.length;
e=360/n;
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
d=(n4||ie)?'document.':'document.getElementById("';
a=(n4||n6)?'':'all.';
r=(n6)?'")':'';
s=(n4)?'':'.style';
y=0;
x=0;
c1=0.1;
cs1=0;
c2=0.1;
cs2=0;
b=70;
if (n4){
for (i=0; i < n; i++)
document.write('<layer name="stars'+i+'" bgcolor='+dots[i]+' clip="0,0,2,2"></layer>');
}
else{
for (i=0; i < n; i++)
document.write('<span id="stars'+i+'" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:#'+dots[i]+';font-size:2px"></span>');
}
function fly(){
h=(n4||n6)?window.innerHeight:document.body.offset Height;
w=(n4||n6)?window.innerWidth:document.body.offsetW idth;
sy=(n4||n6)?window.pageYOffset:document.body.scrol lTop;
sx=(n4||n6)?window.pageXOffset:document.body.scrol lLeft;
v=(n4||n6)?3:3;
y=sy+h/2+h/v*Math.cos((cs2)/3)*Math.cos(cs2/50);
x=sx+w/2+w/2.4*Math.sin((cs2)/5)*Math.cos(cs2/30);
cs2+=c2;
}
function TwistnSpin(){
for (i=0; i < n; i++){
var divs=eval(d+a+"stars"+i+r+s);
divs.top=y+b*Math.cos(cs1+i*e*Math.PI/180)*Math.cos(cs1/1.5);
divs.left=x+b*Math.sin(cs1+i*e*Math.PI/180);
}
cs1+=c1;
fly();
setTimeout("TwistnSpin()",10);
}
function In(){
b-=0.5;
t1=setTimeout('In()',10);
if (b < 20){clearTimeout(t1);out()}
}
function out(){
b+=0.5;
t2=setTimeout('out()',10);
if (b > 70){clearTimeout(t2);In()}
}
function Go(){TwistnSpin();In()}
Go();
// -->
</script>
4- Bu script ile sayfanızın arka planında kar yağıyor havası verebilirsiniz.
<script language="JavaScript">
<!-- Multi-Fx1 Script by Onderkarsli@hotmail.com
dots=new Array('ff0000','00ff00','3366ff','ff00ff','ffa500' ,'ffffff','fff000');
n=dots.length;
e=360/n;
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
d=(n4||ie)?'document.':'document.getElementById("';
a=(n4||n6)?'':'all.';
r=(n6)?'")':'';
s=(n4)?'':'.style';
y=0;
x=0;
c1=0.1;
cs1=0;
c2=0.1;
cs2=0;
b=70;
if (n4){
for (i=0; i < n; i++)
document.write('<layer name="stars'+i+'" bgcolor='+dots[i]+' clip="0,0,2,2"></layer>');
}
else{
for (i=0; i < n; i++)
document.write('<span id="stars'+i+'" style="position:absolute;top:0;left:0;width:2px;height:2p x;background:#'+dots[i]+';font-size:2px"></span>');
}
function fly(){
h=(n4||n6)?window.innerHeight:document.body.offset Height;
w=(n4||n6)?window.innerWidth:document.body.offsetW idth;
sy=(n4||n6)?window.pageYOffset:document.body.scrol lTop;
sx=(n4||n6)?window.pageXOffset:document.body.scrol lLeft;
v=(n4||n6)?3:3;
y=sy+h/2+h/v*Math.cos((cs2)/3)*Math.cos(cs2/50);
x=sx+w/2+w/2.4*Math.sin((cs2)/5)*Math.cos(cs2/30);
cs2+=c2;
}
function TwistnSpin(){
for (i=0; i < n; i++){
var divs=eval(d+a+"stars"+i+r+s);
divs.top=y+b*Math.cos(cs1+i*e*Math.PI/180)*Math.cos(cs1/1.5);
divs.left=x+b*Math.sin(cs1+i*e*Math.PI/180);
}
cs1+=c1;
fly();
setTimeout("TwistnSpin()",10);
}
function In(){
b-=0.5;
t1=setTimeout('In()',10);
if (b < 20){clearTimeout(t1);out()}
}
function out(){
b+=0.5;
t2=setTimeout('out()',10);
if (b > 70){clearTimeout(t2);In()}
}
function Go(){TwistnSpin();In()}
Go();
// -->
</script>