Z
Ze'Mahşer
Ziyaretçi
Status bar'da sayfa yükleme durumu
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
<SCRIPT language=VBScript>
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|"
sP = 100
Function Window_onLoad()
Bar = 95
sP = 10
END Function
Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Sayfa Yükleme Durumu: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Sayfa Yükleme Durumu: Yüklendi"
********.Body.Style.Display = ""
End If
End Function
Call Count()
-->
</SCRIPT >
</body>
</html>
__________________
Sayfaya yağmur yağsın
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (********.layers) ? 1 : 0;
var ie4up = (********.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
else
if (ie4up) {
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (i = 0; i < no; ++ i) {
initRain();
if (ns4up) {
if (i == 0) {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
else {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
}
else
if (ie4up) {
if (i == 0) {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
else {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
}
}
function initRain() {
a = 6;
r = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx = Math.random() * doc_width + 1;
cy = Math.random() * doc_height + 1;
x = r * sn + cx;
y = cy;
}
function makeRain() {
r = 1;
cx = Math.random() * doc_width + 1;
cy = 1;
x = r * sn + cx;
y = r * cs + cy;
}
function updateRain() {
r += s;
x = r * sn + cx;
y = r * cs + cy;
}
function raindropNS() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x <= 1) || (x >= (doc_width - 20)) || (y >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
********.layers["dot"+i].top = y;
********.layers["dot"+i].left = x;
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x <= 1) || (x >= (doc_width - 20)) || (y >= (doc_height - 20))) {
makeRain();
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
********.all["dot"+i].style.pixelTop = y;
********.all["dot"+i].style.pixelLeft = x;
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
// End -->
</script></body>
</html>
__________________
Kayan resim
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
**********
<!-- Begin
var no = 10; // BURADA RESMIN SAYISINI BELIRTIYORUZ
var speed = 1; // RESMIN KAYMA HIZINI AYARLIYORUZ
var heart = "image001.gif"; // KAYAN RESIM DOSYASININ ISMINI YAZIYORUZ
var flag;
var ns4up = (********.layers) ? 1 : 0; // browser sniffer
var ie4up = (********.all) ? 1 : 0;
var dx, xp, yp;
var am, stx, sty;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
amx = new Array();
amy = new Array();
stx = new Array();
sty = new Array();
flag = new Array();
for (i = 0; i < no; ++ i) {
dx = 0;
xp = Math.random()*(doc_width-30)+10;
yp = Math.random()*doc_height;
amy = 12+ Math.random()*20;
amx = 10+ Math.random()*40;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
flag = (Math.random()>0.5)?1:0;
if (ns4up) {
if (i == 0) {
********.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
********.write("top=\"15\" visibility=\"show\"><img src=\"");
********.write(heart+ "\" border=\"0\"></layer>");
} else {
********.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
********.write("top=\"15\" visibility=\"show\"><img src=\"");
********.write(heart+ "\" border=\"0\"></layer>");
}
} else
if (ie4up) {
if (i == 0) {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
********.write(heart+ "\" border=\"0\"></div>");
} else {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
********.write(heart+ "\" border=\"0\"></div>");
}
}
}
function snowNS() {
for (i = 0; i < no; ++ i) {
if (yp > doc_height-50) {
xp = 10+ Math.random()*(doc_width-amx-30);
yp = 0;
flag=(Math.random()<0.5)?1:0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
if (flag)
dx += stx;
else
dx -= stx;
if (Math.abs(dx) > Math.PI) {
yp+=Math.abs(amy*dx);
xp+=amx*dx;
dx=0;
flag=!flag;
}
********.layers["dot"+i].top = yp + amy*(Math.abs(Math.sin(dx)+dx));
********.layers["dot"+i].left = xp + amx*dx;
}
setTimeout("snowNS()", speed);
}
function snowIE() {
for (i = 0; i < no; ++ i) { t
if (yp > doc_height-50) {
xp = 10+ Math.random()*(doc_width-amx-30);
yp = 0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
flag=(Math.random()<0.5)?1:0;
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
if (flag)
dx += stx;
else
dx -= stx;
if (Math.abs(dx) > Math.PI) {
yp+=Math.abs(amy*dx);
xp+=amx*dx;
dx=0;
flag=!flag;
}
********.all["dot"+i].style.pixelTop = yp + amy*(Math.abs(Math.sin(dx)+dx));
********.all["dot"+i].style.pixelLeft = xp + amx*dx;
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
</body>
</html>
__________________
Mouse'la beraber hareket eden yazı efekti
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
message='www.forumca.net/21edy';
FonT='Verdana';
ColoR='';
SizE=1; //1 to 7 only!
var amount=5,ypos=-50,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0, Ey=0,Ex=0;
if (********.layers){
for (i = 0; i < amount; i++)
{********.write('<layer name=nsl'+i+' top=0 left=0><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){
xpos=evnt.pageX+20;
ypos=evnt.pageY+20;
}
window.onMouseMove = nsmouse;
}
else if (********.all){
********.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
********.write("<div style='position:relative'>");
for (i = 0; i < amount; i++)
{********.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;width:40 0px;hei ght:20px"><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></div>')}
********.write("</div>");
********.write("</div>");
function iemouse(){
ypos=event.y+20;
xpos=event.x+20;
}
window.********.onmousemove = iemouse;
}
function makefollow(){
if (********.layers){
********.layers['nsl'+0].top=ay;********.layers['nsl'+0].left=ax;
********.layers['nsl'+1].top=by;********.layers['nsl'+1].left=bx;
********.layers['nsl'+2].top=cy;********.layers['nsl'+2].left=cx;
********.layers['nsl'+3].top=Dy;********.layers['nsl'+3].left=Dx;
********.layers['nsl'+4].top=Ey;********.layers['nsl'+4].left=Ex;
}
else if (********.all){
outer.style.pixelTop=********.body.scrollTop;
text[0].style.pixelTop=ay;text[0].style.pixelLeft=ax;
text[1].style.pixelTop=by;text[1].style.pixelLeft=bx;
text[2].style.pixelTop=cy;text[2].style.pixelLeft=cx;
text[3].style.pixelTop=Dy;text[3].style.pixelLeft=Dx;
text[4].style.pixelTop=Ey;text[4].style.pixelLeft=Ex;
}
}
function move(){
ey=Ey+=(ypos-Ey)*0.2;ex=Ex+=(xpos-Ex)*0.2;
dy=Dy+=(ey-Dy)*0.3;dx=Dx+=(ex-Dx)*0.3;
cy=Cy+=(dy-Cy)*0.4;cx=Cx+=(dx-Cx)*0.4;
by=By+=(cy-By)*0.5;bx=Bx+=(cx-Bx)*0.5;
ay=Ay+=(by-Ay)*0.6;ax=Ax+=(bx-Ax)*0.6;
makefollow();
setTimeout('move()',10);
}
window.onload=move;
//-->
</script>
</body>
</html>
__________________
Sayfaya çift tıklayın arka plan değişsin
Kod:
<html>
**********
<!-- Begin -
function makeRandom(range) {
rand=Math.floor(range*Math.random())
return rand
}
function makeHexa(thiscol) {
var colhex_left = Math.floor(thiscol/16)
var colhex_right= thiscol-(colhex_left*16)
if (colhex_left == 10) {colhex_left="A"}
if (colhex_left == 11) {colhex_left="B"}
if (colhex_left == 12) {colhex_left="C"}
if (colhex_left == 13) {colhex_left="D"}
if (colhex_left == 14) {colhex_left="E"}
if (colhex_left == 15) {colhex_left="F"}
if (colhex_right == 10) {colhex_right="A"}
if (colhex_right == 11) {colhex_right="B"}
if (colhex_right == 12) {colhex_right="C"}
if (colhex_right == 13) {colhex_right="D"}
if (colhex_right == 14) {colhex_right="E"}
if (colhex_right == 15) {colhex_right="F"}
var colhex =""+colhex_left+colhex_right
return colhex
}
function dblclick() {
var redcolor=makeRandom(255)
redcolor=makeHexa(redcolor)
var greencolor=makeRandom(255)
greencolor=makeHexa(greencolor)
var bluecolor=makeRandom(255)
bluecolor=makeHexa(bluecolor)
********.bgColor=""+redcolor+greencolor+bluecolor
}
if (********.layers) {
********.captureEvents(Event.ONDBLCLICK);
}
********.ondblclick=dblclick;
// - End - -->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF">
*********
A {color:FF0000;}
</STYLE>
</BODY>
</HTML>
__________________
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
<SCRIPT language=VBScript>
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|"
sP = 100
Function Window_onLoad()
Bar = 95
sP = 10
END Function
Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Sayfa Yükleme Durumu: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Sayfa Yükleme Durumu: Yüklendi"
********.Body.Style.Display = ""
End If
End Function
Call Count()
-->
</SCRIPT >
</body>
</html>
__________________
Sayfaya yağmur yağsın
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (********.layers) ? 1 : 0;
var ie4up = (********.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
else
if (ie4up) {
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (i = 0; i < no; ++ i) {
initRain();
if (ns4up) {
if (i == 0) {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
else {
********.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
********.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
********.write(",</font></layer>");
}
}
else
if (ie4up) {
if (i == 0) {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
else {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
********.write(",</font></div>");
}
}
}
function initRain() {
a = 6;
r = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx = Math.random() * doc_width + 1;
cy = Math.random() * doc_height + 1;
x = r * sn + cx;
y = cy;
}
function makeRain() {
r = 1;
cx = Math.random() * doc_width + 1;
cy = 1;
x = r * sn + cx;
y = r * cs + cy;
}
function updateRain() {
r += s;
x = r * sn + cx;
y = r * cs + cy;
}
function raindropNS() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x <= 1) || (x >= (doc_width - 20)) || (y >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
********.layers["dot"+i].top = y;
********.layers["dot"+i].left = x;
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x <= 1) || (x >= (doc_width - 20)) || (y >= (doc_height - 20))) {
makeRain();
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
********.all["dot"+i].style.pixelTop = y;
********.all["dot"+i].style.pixelLeft = x;
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
// End -->
</script></body>
</html>
__________________
Kayan resim
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
**********
<!-- Begin
var no = 10; // BURADA RESMIN SAYISINI BELIRTIYORUZ
var speed = 1; // RESMIN KAYMA HIZINI AYARLIYORUZ
var heart = "image001.gif"; // KAYAN RESIM DOSYASININ ISMINI YAZIYORUZ
var flag;
var ns4up = (********.layers) ? 1 : 0; // browser sniffer
var ie4up = (********.all) ? 1 : 0;
var dx, xp, yp;
var am, stx, sty;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
amx = new Array();
amy = new Array();
stx = new Array();
sty = new Array();
flag = new Array();
for (i = 0; i < no; ++ i) {
dx = 0;
xp = Math.random()*(doc_width-30)+10;
yp = Math.random()*doc_height;
amy = 12+ Math.random()*20;
amx = 10+ Math.random()*40;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
flag = (Math.random()>0.5)?1:0;
if (ns4up) {
if (i == 0) {
********.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
********.write("top=\"15\" visibility=\"show\"><img src=\"");
********.write(heart+ "\" border=\"0\"></layer>");
} else {
********.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
********.write("top=\"15\" visibility=\"show\"><img src=\"");
********.write(heart+ "\" border=\"0\"></layer>");
}
} else
if (ie4up) {
if (i == 0) {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
********.write(heart+ "\" border=\"0\"></div>");
} else {
********.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
********.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
********.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
********.write(heart+ "\" border=\"0\"></div>");
}
}
}
function snowNS() {
for (i = 0; i < no; ++ i) {
if (yp > doc_height-50) {
xp = 10+ Math.random()*(doc_width-amx-30);
yp = 0;
flag=(Math.random()<0.5)?1:0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
if (flag)
dx += stx;
else
dx -= stx;
if (Math.abs(dx) > Math.PI) {
yp+=Math.abs(amy*dx);
xp+=amx*dx;
dx=0;
flag=!flag;
}
********.layers["dot"+i].top = yp + amy*(Math.abs(Math.sin(dx)+dx));
********.layers["dot"+i].left = xp + amx*dx;
}
setTimeout("snowNS()", speed);
}
function snowIE() {
for (i = 0; i < no; ++ i) { t
if (yp > doc_height-50) {
xp = 10+ Math.random()*(doc_width-amx-30);
yp = 0;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
flag=(Math.random()<0.5)?1:0;
doc_width = ********.body.clientWidth;
doc_height = ********.body.clientHeight;
}
if (flag)
dx += stx;
else
dx -= stx;
if (Math.abs(dx) > Math.PI) {
yp+=Math.abs(amy*dx);
xp+=amx*dx;
dx=0;
flag=!flag;
}
********.all["dot"+i].style.pixelTop = yp + amy*(Math.abs(Math.sin(dx)+dx));
********.all["dot"+i].style.pixelLeft = xp + amx*dx;
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
</body>
</html>
__________________
Mouse'la beraber hareket eden yazı efekti
Kod:
<html>
<head>
****** http-equiv="Content-Type" *********"text/html; charset=windows-1254">
<title>Yeni Sayfa 1</title>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
message='www.forumca.net/21edy';
FonT='Verdana';
ColoR='';
SizE=1; //1 to 7 only!
var amount=5,ypos=-50,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0, Ey=0,Ex=0;
if (********.layers){
for (i = 0; i < amount; i++)
{********.write('<layer name=nsl'+i+' top=0 left=0><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){
xpos=evnt.pageX+20;
ypos=evnt.pageY+20;
}
window.onMouseMove = nsmouse;
}
else if (********.all){
********.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
********.write("<div style='position:relative'>");
for (i = 0; i < amount; i++)
{********.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;width:40 0px;hei ght:20px"><font face='+FonT+' size='+SizE+' color='+ColoR+'>'+message+'</font></div>')}
********.write("</div>");
********.write("</div>");
function iemouse(){
ypos=event.y+20;
xpos=event.x+20;
}
window.********.onmousemove = iemouse;
}
function makefollow(){
if (********.layers){
********.layers['nsl'+0].top=ay;********.layers['nsl'+0].left=ax;
********.layers['nsl'+1].top=by;********.layers['nsl'+1].left=bx;
********.layers['nsl'+2].top=cy;********.layers['nsl'+2].left=cx;
********.layers['nsl'+3].top=Dy;********.layers['nsl'+3].left=Dx;
********.layers['nsl'+4].top=Ey;********.layers['nsl'+4].left=Ex;
}
else if (********.all){
outer.style.pixelTop=********.body.scrollTop;
text[0].style.pixelTop=ay;text[0].style.pixelLeft=ax;
text[1].style.pixelTop=by;text[1].style.pixelLeft=bx;
text[2].style.pixelTop=cy;text[2].style.pixelLeft=cx;
text[3].style.pixelTop=Dy;text[3].style.pixelLeft=Dx;
text[4].style.pixelTop=Ey;text[4].style.pixelLeft=Ex;
}
}
function move(){
ey=Ey+=(ypos-Ey)*0.2;ex=Ex+=(xpos-Ex)*0.2;
dy=Dy+=(ey-Dy)*0.3;dx=Dx+=(ex-Dx)*0.3;
cy=Cy+=(dy-Cy)*0.4;cx=Cx+=(dx-Cx)*0.4;
by=By+=(cy-By)*0.5;bx=Bx+=(cx-Bx)*0.5;
ay=Ay+=(by-Ay)*0.6;ax=Ax+=(bx-Ax)*0.6;
makefollow();
setTimeout('move()',10);
}
window.onload=move;
//-->
</script>
</body>
</html>
__________________
Sayfaya çift tıklayın arka plan değişsin
Kod:
<html>
**********
<!-- Begin -
function makeRandom(range) {
rand=Math.floor(range*Math.random())
return rand
}
function makeHexa(thiscol) {
var colhex_left = Math.floor(thiscol/16)
var colhex_right= thiscol-(colhex_left*16)
if (colhex_left == 10) {colhex_left="A"}
if (colhex_left == 11) {colhex_left="B"}
if (colhex_left == 12) {colhex_left="C"}
if (colhex_left == 13) {colhex_left="D"}
if (colhex_left == 14) {colhex_left="E"}
if (colhex_left == 15) {colhex_left="F"}
if (colhex_right == 10) {colhex_right="A"}
if (colhex_right == 11) {colhex_right="B"}
if (colhex_right == 12) {colhex_right="C"}
if (colhex_right == 13) {colhex_right="D"}
if (colhex_right == 14) {colhex_right="E"}
if (colhex_right == 15) {colhex_right="F"}
var colhex =""+colhex_left+colhex_right
return colhex
}
function dblclick() {
var redcolor=makeRandom(255)
redcolor=makeHexa(redcolor)
var greencolor=makeRandom(255)
greencolor=makeHexa(greencolor)
var bluecolor=makeRandom(255)
bluecolor=makeHexa(bluecolor)
********.bgColor=""+redcolor+greencolor+bluecolor
}
if (********.layers) {
********.captureEvents(Event.ONDBLCLICK);
}
********.ondblclick=dblclick;
// - End - -->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF">
*********
A {color:FF0000;}
</STYLE>
</BODY>
</HTML>
__________________