Blink Background renk değiştirme

DrogbA

Forum Üyesi
Katılım
27 Ara 2020
Mesajlar
3,440
Tepkime puanı
0
Puanları
36
PHP:
<!-- 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 -->


PHP:
<!-- 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 -->
 

Peri

Co Admin
Katılım
2 May 2020
Mesajlar
4,949
Tepkime puanı
12
Puanları
36
Takım
Beşiktaş
Teşekkürler
 

Nutella

Bayan Üye
Özel Üye
Katılım
2 Ocak 2021
Mesajlar
3,559
Tepkime puanı
23
Puanları
36
Cinsiyet
  1. Bayan
Takım
Galatasaray
Paylaşım için teşekkürler.
 
metal işleme
Üst