Script Categories













Background Effects >>> Blinker.

This script allow you to quickly blink the background. With a click of a button, the background changes from white to blue and back several times to return to white .

Step 1: Add the below code to the <BODY> section of your page:

<SCRIPT LANGUAGE="JavaScript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function blinkit(){
intrvl=0;
for(nTimes=0;nTimes<3;nTimes++){
intrvl += 200;
setTimeout("document.bgColor='#0000FF';",intrvl);
intrvl += 200;
setTimeout("document.bgColor='#FFFFFF';",intrvl);
   }
}
// End -->
</SCRIPT>
<center>
<FORM>
<INPUT
TYPE="BUTTON" VALUE="Blink" onClick="blinkit()">
</FORM>
</center>

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

baca manga online: Komiku tv


©