Autor Zpráva
Headkiller
Profil *
Dobry den,
potreboval bych pomoci s jednou vlastnosti ktera se obecne jmenuje Fadein a fadeout obrazku
navic je to stizene tim ze je to pres maps v obrazku.
zakladem je ctvercovy obrazek a v urcitych mistech se pri mouseover zmeni cely obrazek na trochu jiny.
tohle mi funguje naprosto v pohode ale chtel bych tam pridat vlastnost fadein kdy pri najeti na danou cast zmeni obrazek plynule nikoliv "skokem" na opacity 100%

Rad bych neco jednoducheho co jsem schopen pochopit.

prikladam zdrojak:

diky za pomoc




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<SCRIPT LANGUAGE="JavaScript"><!--
a1 = new Image();
a1.src = "grafika/peta_part1.gif";

a2 = new Image();
a2.src = "grafika/peta_part2.gif";

a3 = new Image();
a3.src = "grafika/peta_part3.gif";

a4 = new Image();
a4.src = "grafika/peta_part4.gif";

b1 = new Image();
b1.src = "grafika/peta_partwhite2.gif";

function show1(){document.mm.src=a1.src;return true;}
function show2(){document.mm.src=a2.src;return true;}
function show3(){document.mm.src=a3.src;return true;}
function show4(){document.mm.src=a4.src;return true;}
function showorig(){document.mm.src=b1.src;return true;}

function MD_show1(){document.mm.src=a1.src;b1.src=a1.src;return true;}
function MD_show2(){document.mm.src=a2.src;b1.src=a2.src;return true;}
function MD_show3(){document.mm.src=a3.src;b1.src=a3.src;return true;}
function MD_show4(){document.mm.src=a4.src;b1.src=a4.src;return true;}
function MD_showorig(){document.mm.src=b1.src;return true;}

//}

//-->
</SCRIPT>


<html>
<head>
<map name="map4">
<area alt="Ceny" shape="poly" coords="154,126,156,126,165,115,181,104,200,98,215,97,240,98,278,110,3 11,127,311,0,156,0,136,42,127,71,126,96,136,114,151,125" href="cenik.cfm" onMouseOver="show2()" onMouseDown="MD_show2()" onMouseOut="showorig()" target="f7" >
<area alt="Masáže" shape="poly" coords="50,150,72,159,99,162,113,160,132,153,147,138,153,129,132,119,1 23,100,122,84,127,60,136,33,152,0,0,0,0,123,22,137" href="masage.cfm" onMouseOver="show1()" onMouseDown="MD_show1()" onMouseOut="showorig()" target="f7" >
<area alt="Kontakt" shape="poly" coords="158,131,174,140,184,152,188,170,180,200,169,230,154,260,0,260, 0,127,22,142,52,157,91,168,119,164,138,157,152,144" href="kontakt.cfm" onMouseOver="show3()" onMouseDown="MD_show3()" onMouseOut="showorig()" target="f7" >
<area alt="O mn&igrave;" shape="poly" coords="164,121,175,112,192,104,221,101,258,108,295,122,311,130,311,26 0,160,260,170,242,180,216,188,190,191,172,191,158,184,143,170,132,159, 127" href="aboutme.cfm" onMouseOver="show4()" onMouseDown="MD_show4()" onMouseOut="showorig()" target="f7" >
</map>
</head>

<body bgcolor="#000000">
<img name="mm" src="grafikapeta_partwhite2.gif" alt="" width="312" height="261" border="0" usemap="#map4" onMouseDown="MD_showorig()" >



</body>
Toto téma je uzamčeno. Odpověď nelze zaslat.

0