1)arka planda yildizlar
<!--
<div style="position:relative"> - Rest of page - </div>
-->
<script language="JavaScript">
<!-- 3D Space Trip Script by
kurt.grigg@virgin.netNstars=15;
Y=new Array();
X=new Array();
Sstars=new Array();
Dstars=new Array();
Brwsr=(document.layers)?1:0;
iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;
offvis=(document.layers)?'hide':'hidden';
onvis=(document.layers)?'show':'visible';
for (i=0; i < Nstars;i++)
{
Y
=iH/2;
X=iW/2;
Dstars=Math.round(Math.random()*360);
Sstars=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.document.body.clientHeight;
W=(document.layers)?window.innerWidth:window.document.body.clientWidth;
hscrll=(document.layers)?window.pageYOffset:document.body.scrollTop;
wscrll=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Nstars;i++){
var layer=(document.layers)?document.layers["nstar"+i]:istar.style;
Sstars+=0.3;
//Dstars+=2; //Can spin using this!!
Y+=Math.round(Sstars*Math.sin(Dstars*Math.PI/180));
X+=Math.round(Sstars*Math.cos(Dstars*Math.PI/180));
if ((Y > H) || (Y < 0 ) || (X > W) || (X < 0))
{
Y=H/2;
X=W/2;
Dstars=Math.round(Math.random()*360);
Sstars=Math.round(Math.random()*5+2);
}
layer.top=Y+hscrll;
layer.left=X+wscrll;
if ((X < W/2-W/8) || (X > W/2+W/8) || (Y < H/2-H/8) || (Y > 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.width=2;layer.fontSize=2}
}
if ((X < W/2-W/6) || (X > W/2+W/6) || (Y < H/2-H/6) || (Y > H/2+H/6))
{
if (Brwsr) layer.bgColor='dddddd';
else layer.background='dddddd';
}
if ((X < W/2-W/2.5) || (X > W/2+W/2.5) || (Y < H/2-H/2.5) || (Y > 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.width=3;layer.fontSize=3}
}
if ((X < (W/2)-10 ) || (X > W-(W/2)+10 ) || (Y < (H/2)-10) || (Y > 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.width=1;layer.fontSize=1}
}
}
setTimeout('fly()',10);
}
window.onload=fly;
//-->
</script>
2) arka planda havai fisekler
<script language="JavaScript">
<!-- IE4+, NS4+, NS6 Fireworks script by kurt.grigg@virgin.net
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ffa500','#ffff00','#00ff00',
'#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#fffffF')
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;width: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:2px;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.body.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.body.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.body.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars.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 -->
Ekleyen: eXsTaSiS
*****
3) arka planda dönüp dolasan bir daire
<script language="JavaScript">
<!-- IE4+, NS4+, NS6 Fireworks script by kurt.grigg@virgin.net
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ffa500','#ffff00','#00ff00',
'#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#fffffF')
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;width: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:2px;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.body.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.body.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.body.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars.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 -->
Ekleyen: eXsTaSiS