JavaScript Source Code 3000: BG Effects: Blinker
function blinkit(){
intrvl=0;
for(nTimes=0;nTimes
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.
JavaScript Source Code 3000: BG Effects: Blinker
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
<!-- TWO STEPS TO INSTALL BLINKER:
1. Paste designated code into HEAD of your HTML document
2. Add the second script to the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into HEAD of your document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<! >
<! >
<!-- 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>
<!-- STEP TWO: Add this form to the body of the HTML document -->
<BODY>
<CENTER>
<FORM>
<INPUT TYPE="BUTTON" VALUE="Blink" onClick="blinkit()">
</FORM>
<!-- Script Size: 1.01 KB -->
Wyszukiwarka
Podobne podstrony:
The Cosmic Blinker Otto Binder(1)BLINKENDE LYGTER (Błyskające światła) 2000Sparsam blinkendes Katzenaugetext blinkerBlinkerBinder, Eando The Cosmic Blinker v1 0więcej podobnych podstron