FAREBNY PRECHOD

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

146
p146.html / p146.zip
Farebny prechod farieb cez pol obrazovky.
1465b
NN 4.04, IE 4.0

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<HTML> <SCRIPT LANGUAGE=JavaScript> <!-- var iNumOfFrames = 7; var iStartingFrame= 0; var iColorPosition= 0; var Color = new Array(7); Color[0] = "11"; Color[1] = "33"; Color[2] = "55"; Color[3] = "88"; Color[4] = "AA"; Color[5] = "CC"; Color[6] = "FF"; function Array(iLength) { this.length = iLength; return this } function BlinkingLED(iTimeOut) { var i = 0; for (i=iStartingFrame;i<iNumOfFrames;i++) { window.frames[i].document.bgColor = "#" + Color[iColorPosition] +"0000" iColorPosition = (iColorPosition + 1) & 7 } window.setTimeout("BlinkingLED("+iTimeOut+")",iTimeOut); } // --> </SCRIPT> <TITLE>JavaScript DESTINATION - P146</TITLE> <FRAMESET ROWS="*,200"> <FRAMESET COLS="1%,1%,1%,1%,1%,1%,1%" onLoad="BlinkingLED(25)"> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> <FRAME SRC="p146-1.html" SCROLLING=NO NORESIZE> </FRAMESET> <FRAME SRC="p146-2.html"> </FRAMESET> </HTML>
[ Navrat / BACK ]