헐랭이님의 독수리
파폭으로 그누보드 둘러보는중 독수리가 한마리가 왼쪽 상단에 떠있어서 깜짝놀랐습니다.
그런데 익스에서는 두마리가 지맘대로 돌아다니는군요.
이거 독수리 사냥꾼을 불러야 하나요.....ㅎㅎㅎㅎ
그런데 익스에서는 두마리가 지맘대로 돌아다니는군요.
이거 독수리 사냥꾼을 불러야 하나요.....ㅎㅎㅎㅎ
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 9개
독수리사냥꾼 저나버노 : 010-0000-0000 입니다....
[http://user.chollian.net/~eyeswind/image/neagle2.gif] 텨 =3=3=3=3=3
독수리는 무서워요....[http://sijeon.com/bb/oot.gif] 더망가야쥐 [http://sijeon.com/bb/do1.gif]
[http://sijeon.com/bb/oot.gif][http://sijeon.com/bb/oot.gif]
신기하네..
좋은 JavaScripts가 서명에 있네여 ㅎㅎㅎㅎ
이거 공개 해도 되나여? ㅎㅎㅎ
-----------------------------------------------------------------------------------------------------------------
P=new Image();
// 사용할 이미지의 위치(주소)지정
// 이미지가 있는 디렉토리와 이미지 파일의 이름을 따로 설정하지만 이미지 주소를 아래 두곳 모두 똑같이 넣어주어도 됨.
P.src="http://user.chollian.net/~eyeswind/image/neagle2.gif"; // 이미지가 있는 디렉토리
Pic="http://user.chollian.net/~eyeswind/image/neagle2.gif"; // 위 디렉토리에 있는 이미지 파일의 이름
amount=2; // 나타낼 이미지의 수량(최소 2개이상으로 설정해 준다)
BY=-10; // 이미지의 높이
BX=-20; // 이미지의 넓이
S=1; // 이미지가 움직이는 스피드
ns=(document.layers)?1:0;
if (ns){ // 사용하는 브라우져가 넷스케이프라면.......
for (i=0; i < amount; i++)
document.write("<LAYER NAME='netscape"+i+"' LEFT=0 TOP=0><img src="+Pic+"></LAYER>");
} else{ // 익스플로러 브라우져라면.......
document.write("<div style='position:absolute;top:0px;left:0px'><div style='position:relative'>");
for (i=0; i < amount; i++)
{document.write("<img id='explorer' src='"+Pic+"' style='position:absolute;top:0px;left:0px'>")}
document.write("</div></div>")
}
R=new Array(),PB=new Array(),RD=new Array(),Y=new Array(),X=new Array(),D=new Array(),VB=0,HB=0,SP=new Array();;
for (i=0; i < amount; i++){Y[i]=10;X[i]=10;D[i]=Math.floor(Math.random()*80+10);SP[i]=Math.floor(Math.random()*S+3)}
function Curve(){
plusMinus=new Array(1,-1,2,-2,3,-3,0,1,-1)
for (i=0; i < amount; i++){
R[i]=Math.floor(Math.random()*plusMinus.length);
RD[i]=plusMinus[R[i]];
}
setTimeout('Curve()',1800);
}
function MoveRandom(){
T=setTimeout('MoveRandom()',10);
var H=(document.layers)?window.innerHeight:document.body.clientHeight;
var W=(document.layers)?window.innerWidth:document.body.clientWidth;
var YS=(document.layers)?window.pageYOffset:document.body.scrollTop;
var XS=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < amount; i++){
PB[i]=D[i]+=RD[i];
y = SP[i]*Math.sin(PB[i]*Math.PI/180);
x = SP[i]*Math.cos(PB[i]*Math.PI/180);
if (D[i] < 0) D[i]+=360;
Y[i]+=y;
X[i]+=x;
VB=180-D[i];
HB=0-D[i];
//Corner rebounds! not necessary but looks nice.
if ((Y[i] < 1) && (X[i] < 1)) {Y[i]=1;X[i]=1;D[i]=45;}
if ((Y[i] < 1) && (X[i] > W+BX)) {Y[i]=1;X[i]=W+BX;D[i]=135;}
if ((Y[i] > H+BY) && (X[i] < 1)) {Y[i]=H+BY;X[i]=1;D[i]=315;}
if ((Y[i] > H+BY) && (X[i] > W+BX)) {Y[i]=H+BY;X[i]=W+BX;D[i]=225;}
//Edge rebounds!
if (Y[i] < 1) {Y[i]=1;D[i]=HB;}
if (Y[i] > H+BY) {Y[i]=H+BY;D[i]=HB;}
if (X[i] < 1) {X[i]=1;D[i]=VB;}
if (X[i] > W+BX) {X[i]=W+BX;D[i]=VB;}
var layer=(document.layers)?document.layers['netscape'+i]:explorer[i].style;
layer.top=Y[i]+YS;
layer.left=X[i]+XS;
}
}
function sTaRt(){Curve();MoveRandom()}
if (document.all||document.layers){sTaRt()}
//-->