üzerine gelince alttaki resim değişsin

DrogbA

Forum Üyesi
Katılım
27 Ara 2020
Mesajlar
3,440
Tepkime puanı
0
Puanları
36
PHP:
<!-- TWO STEPS TO INSTALL CHANGE IMAGE:

 
1. Paste the coding into the HEAD of your HTML document

2. Add the last code into the BODY of your HTML document -->

 
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

 
<HEAD>

 
<SCRIPT language="JavaScript">

 
<! >

<! >

 
<!-- Begin

function movepic(img_name,img_src) {

document[img_name].src=img_src;

}

// End -->

</SCRIPT>

<!-- STEP TWO: Put this code into the BODY of your HTML document -->

 
<BODY>

 
<!-- Be sure to give each image a name! (<img name="button">)

Include that name in the onmouseover/onmouseout tags! -->

 
<CENTER>

<A HREF="http://javascript.internet.com" 

onmouseover="movepic('button','pic-off.gif')" 

onmouseout="movepic('button','pic-on.gif')">

<IMG NAME="button" SRC="pic-off.gif" ALT="Image"></A>

</CENTER>


PHP:
<!-- TWO STEPS TO INSTALL CHANGE IMAGE:

 
1. Paste the coding into the HEAD of your HTML document

2. Add the last code into the BODY of your HTML document -->

 
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

 
<HEAD>

 
<SCRIPT language="JavaScript">

 
<! >

<! >

 
<!-- Begin

function movepic(img_name,img_src) {

document[img_name].src=img_src;

}

// End -->

</SCRIPT>

<!-- STEP TWO: Put this code into the BODY of your HTML document -->

 
<BODY>

 
<!-- Be sure to give each image a name! (<img name="button">)

Include that name in the onmouseover/onmouseout tags! -->

 
<CENTER>

<A HREF="http://javascript.internet.com" 

onmouseover="movepic('button','pic-off.gif')" 

onmouseout="movepic('button','pic-on.gif')">

<IMG NAME="button" SRC="pic-off.gif" ALT="Image"></A>

</CENTER>
 

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