งานอดิเรก
items in IE
//skip this for now;// setInitPositions(dots)
}// set their positions
for (i = 0; i
var startloc = document.all.tags("LI");var i = 0;
for (i = 0; i SEGLEN) {var springF = SPRINGK * (len - SEGLEN);
spring.X += (dx / len) * springF;spring.Y += (dy / len) * springF;}}
function animate() {// dots[0] follows the mouse,// though no dot is drawn there
var start = 0;if (followmouse) {dots[0].X = Xpos;dots[0].Y = Ypos;start = 1;}
for (i = start ; i 0) {springForce(i-1, i, spring);}
if (i = height - DOTSIZE - 1)
{if (dots[i].dy > 0) {dots[i].dy = BOUNCE * -dots[i].dy;};dots[i].Y = height - DOTSIZE - 1;}
if (dots[i].X >= width - DOTSIZE) {if (dots[i].dx > 0) {dots[i].dx = BOUNCE * -dots[i].dx;}
dots[i].X = width - DOTSIZE - 1;}
if (dots[i].X
วีดีโอ และ โชว์ ที่ชอบ เพลงโปรด
= 5)
isNetscape6=true;/*
This script has been disabled for
Netscape 6 due to ugly scrollbar
activety. Could probably be fixed
with a clipped container div but
can't be bothered.
*/
if (!isNetscape6){
num=20; //Smoothness depends on image file size, the smaller the size the more you can use!
stopafter=240; //seconds!
//Pre-load images!
pics=new Array("https://i11.photobucket.com/albums/a171/merrymod/flower01.gif",
"https://i11.photobucket.com/albums/a171/merrymod/flower02.gif",
"https://i11.photobucket.com/albums/a171/merrymod/flower03.gif",
"https://i11.photobucket.com/albums/a171/merrymod/flower04.gif",
"https://i11.photobucket.com/albums/a171/merrymod/flower05.gif");
load=new Array();
for(i=0; i ");
}
}
if (document.all){
document.write(' ');
for (i=0; i ');
}
document.write(' ');
}
if (!document.all&&!document.layers){
for (i=0; i ");
}
}
inih=(document.all)?window.document.body.clientHeight:window.innerHeight-100;
iniw=(document.all)?window.document.body.clientWidth:window.innerWidth-100;
for (i=0; i h){
y[i]=-60;
x[i]=Math.round(Math.random()*w);
s[i]=Math.random()*5+3;
}
s1[i]+=s2[i];
if (document.layers){
document.layers["leaf"+i].left=x[i];
document.layers["leaf"+i].top=y[i]+scy;
}
else{
document.getElementById("leaf"+i).style.left=x[i];
document.getElementById("leaf"+i).style.top=y[i]+scy;
}
}
timer=setTimeout('fall()',80);
}
fall();
function dsbl(){
for (i=0; i
หนังสือคู่กาย