當前位置:外匯行情大全網 - 外匯開戶 - 外匯交易的層次

外匯交易的層次

Java jsp的

首先:將以下代碼添加到

& ltstyle & gt

。下降{位置:絕對;寬度:3;filter: flipV(),flipH();字體大小:40;顏色:藍色}

& lt/style & gt;

& lt腳本語言= " javascript " & gt

雪=假;//false-rain;真雪

snow sym = " * "//這些是每個的符號

rain sym = " * "//可以在這裏放圖片。

多少= 15//多少滴/雪花?

/*********** * * *不需要更改* * * * * * * * * * *以下的任何內容

if(snow){ sym = snow sym;速度= 1;角度= 10;drops =多少}

else { sym = rainsym速度= 50;滴滴=多少;角度=6}

movex =-速度/角度;movey =速度;count = 0;

函數moverain(){

for(move = 0;移動& lt滴滴;move++){

xx[move]+= movex;YY[move]+= mv[move];

hmm = math . round(math . random()* 1);

if(xx[move]& lt;0){ xx[move]= maxx+10;}

if(YY[move]& gt;maxy){ YY[move]= 10;}

放下[移動]。左= xx[移動]

放下[移動]。top = YY[move]+document . body . scroll top;

}setTimeout('moverain()',' 1')}

& lt/script & gt;

& lt腳本語言= " javascript " & gt

if (document.all){

drop = new Array();xx = new Array();YY = new Array();mv =新數組()

ly = " document . all[\ ' ";st = "\']。風格"

for(make = 0;make & lt滴滴;make++){

document . write(' & lt;' div id = " drop '+make+' " class = drop & gt;'+sym+' & lt;/div & gt;');

drop[make]= eval(ly+' drop '+make+ST);

maxx = document . body . client width-40

maxy = document . body . client height-40

xx[make]= math . random()* maxx;

YY[make]=-100-math . random()* maxy;

降[造]。左= xx[make]

降[造]。top = yy[make]

mv[make]=(math . random()* 5)+speed/16;

降[造]。font size =(math . random()* 10)+20;

if(snow){ col = ' white ' } else { col = ' blue ' }

降[造]。color = col

}

window.onload=moverain

}

& lt/script & gt;

第二種:建議妳用這個。可以再加幾張圖。

腳本描述:

步驟1:將以下代碼添加到

& lt腳本語言= " JavaScript " & gt

& lt!-

Pic =新數組(' photo/04261.gif ',' photo/04262.gif ',' photo/04263.gif ',' photo/04264.gif ',' photo/04265.gif ')

//動畫的平滑度取決於圖像的數量和它們的文件大小。

MaxSpeed = 5;

min speed = 2;

load =新數組()

for(I = 0;我& lt圖片長度;i++)

{

load[I]= new Image();

加載[i]。src = Pic[I];

}

金額= Pic.length

ns=(文檔.圖層)?1:0;

if (ns){

for(I = 0;我& lt金額;i++){

document . write(" & lt;LAYER NAME = ' Netscape "+I+" ' LEFT = 0 TOP = 0 & gt;& ltimg name='netpics' src="+load[i]。src+" & gt;& lt/LAYER >)}

}

否則{

document . write(" & lt;div style = ' position:absolute;top:0px;left:0px ' & gt;& ltdiv style='position:relative ' >);

for(I = 0;我& lt金額;i++){

document . write(" & lt;img id='explorer' src='"+load[i]。src+" ' style = ' position:absolute;top:0px;left:0px ' >;")}

document . write(" & lt;/div & gt;& lt/div >;")

}

VB = 0;

HB = 0;

r = new Array();

PB = new Array();

RD = new Array();

y = new Array();

x = new Array();

d =新數組();

SP = new Array();

BY = new Array();

BX =新數組();

for(I = 0;我& lt金額;i++){

y[I]= 10;

x[I]= 10;

d[I]= math . floor(math . random()* 70+10);

SP[I]= math . floor(math . random()* MaxSpeed+min speed);

}

函數曲線(){

plusMinus =新數組(1,-1,2,-2,3,-3,0,1,-1,0,5,-5)

for(I = 0;我& lt金額;i++){

r[I]= math . floor(math . random()* plus MINUS . length);

RD[I]= plus MINUS[R[I]];

}

setTimeout('Curve()',1500);

}

函數MoveRandom(){

var H=(文檔.圖層)?window . inner height:document . body . client height;

var W =(doc . layers)?window . inner width:document . body . client width;

var YS=(文檔.圖層)?window . page yoffset:document . body . scroll top;

var XS=(文檔.圖層)?window . pagexoffset:document . body . scroll left;

for(I = 0;我& lt金額;i++){

BY[i]=-load[i]。身高;

BX[i]=-load[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]& lt;0)D[I]+= 360;

y[I]+= y;

x[I]+= x;

VB = 180-D[I];

HB = 0-D[I];

//角球籃板!沒有必要,但看起來不錯。

if((Y[I]& lt;1);& amp(X[I]& lt;1)){ Y[I]= 1;x[I]= 1;d[I]= 45;}

if((Y[I]& lt;1);& amp(X[I]& gt;w+BX[I]){ Y[I]= 1;x[I]= W+BX[I];d[I]= 135;}

if((Y[I]& gt;h+BY[I])& amp;& amp(X[I]& lt;1)){ Y[I]= H+BY[I];x[I]= 1;d[I]= 315;}

if((Y[I]& gt;h+BY[I])& amp;& amp(X[I]& gt;w+BX[I]){ Y[I]= H+BY[I];x[I]= W+BX[I];d[I]= 225;}

//Edge籃板!

if(Y[I]& lt;1){ Y[I]= 1;d[I]= HB;}

if(Y[I]& gt;H+BY[I]){ Y[I]= H+BY[I];d[I]= HB;}

if(X[I]& lt;1){ X[I]= 1;d[I]= VB;}

if(X[I]& gt;W+BX[I]){ X[I]= W+BX[I];d[I]= VB;}

var layer=(document.layers)?document . layers[' Netscape '+I]:explorer[I]。風格;

layer . top = Y[I]+YS;

layer . left = X[I]+XS;

}

setTimeout('MoveRandom()',10);

}

函數sTaRt(){ Curve();MoveRandom()}

//-& gt;

& lt/script & gt;

第二步:

將以下代碼添加到

第三:這是文字的展示。妳決定用上面那個,加上去。

腳本描述:

步驟1:將以下代碼添加到

& lt腳本語言= " JavaScript " & gt

函數init() {

setTimeout("搖壹搖(3)",1000);

// setTimeout("this.focus()",4000);

setTimeout("shake(3)",4100);

}

函數shake(n) {

if (self.moveBy) {

for(I = 10;我& gt0;我- ) {

for(j = n;j & gt0;j - ) {

self.moveBy(0,I);

self.moveBy(i,0);

self.moveBy(0,-I);

self.moveBy(-i,0);

}

}

}

setTimeout("shake(5)",5000);

}

& lt/script & gt;

& lt腳本語言= " JavaScript " & gt

& lt!-開始

var max = 0;

函數文本列表()

{

max = text list . arguments . length;

for(I = 0;我& ltmaxi++)

this[I]= textlist . arguments[I];

}

tl =新文本列表

“李鵬會見安得拉邦首席部長奈杜”,

“回顧:在新世紀發展睦鄰友好合作關系”,

“中國外匯儲備已達1656億美元”,

《人民日報6月5438+08日社論:推進新農業科技革命》,

“神舟二號飛船軌道艙留在軌道上繼續進行空間科學探測試驗”,

“聯合國已確認貧鈾彈中含有鈾-236”,

羅伯遜說,北約將繼續東擴,

“巴基斯坦指責以色列暗殺其高級官員”,

“第九屆亞太議會論壇年會在智利開幕”,

“特別報道:布什宣誓就職儀式準備就緒”,

“特別報道:布什宣誓就職儀式準備就緒”

);

var x = 0;pos = 0;

var l=tl[0]。長度;

函數textticker()

{

document . tick form . tick field . value = TL[x]。子串(0,pos)+" _ ";

if(pos++==l)

{

pos = 0;

setTimeout("textticker()",1000);

x++;

if(x = = max)x = 0;l=tl[x]。長度;

}

其他

setTimeout("textticker()",50);

}

//end-& gt;

& lt/script & gt;

& ltform name="tickform " >& ltinput type = text name = " tick field " size = 33 & gt。& lt/form & gt;

步驟2:將以下代碼添加到

妳能做的只有這些。這取決於妳。

  • 上一篇:外匯信用額度損失
  • 下一篇:外資銀行發展前景是什麽樣的比如花旗,匯豐之類的
  • copyright 2024外匯行情大全網