Jump to content
php.lv forumi

onmouseover bildes mainja


IM24LV

Recommended Posts

Shodien saskaaros ar probleemu ka shitais kods:

 

<a href="index.php" onMouseOver="document.links1.src='images/navigacija/1.2.png';" onMouseOut="document.links1.src='images/navigacija/1.1.png';"><img src="images/navigacija/1.1.png" border="0" name="links1"></a>

 

nav valiids.

 

Kā ielikt tos mouseover iekš css? :/

Link to comment
Share on other sites

a tagad kaut arii ir pielikti izmeeri, vinsh to bildiiti izstiepj pa visu lapu garumaa

 

 

a.navigacija1 {

width: 118 px;

height: 30 px;

display: block;

background-image: url('images/navigacija/1.1.png');

}

 

a.navigacija1:hover {

background-image: url('images/navigacija/1.2.png');

}

Link to comment
Share on other sites

×
×
  • Create New...