bardzo proszę o pomoc chodzi o javę

HTML to podstawy w dziedzinie tworzenia stron WWW, Style CSS warto opanować, bowiem za ich pomocą można dostosować odpowiednio wygląd swojej witryny WWW. Zagłębiamy się dalej i udostępniamy w tym forum możliwość zadawania pytań o JavaScript.
ODPOWIEDZ
the_mike
Posty: 5
Rejestracja: śr cze 22, 2005 8:19 am

bardzo proszę o pomoc chodzi o javę

Post autor: the_mike »

Chciałbym zmapowanym odnośnikom przypisać animację po najechaniu myszą, normalnie robię to bez problemy, ale ze zmapowanymi nie mogę sobie poradzić, oto kod:

<HTML>
<HEAD>
<script type="text/javascript" language="JavaScript">
<!--
function onmouseover() {

}
//-->
</script>
</HEAD>

<body bgcolor="black" text="white" link="#006600" alink="#FF0000" vlink="#003C00" leftmargin="3" rightmargin="3" topmargin="5" bottommargin="3" marginwidth="3" marginheight="5" style="font-family: verdana; font-size: 13px; min-width: 780px">
<img src="e:\strona\kolo\tlo.jpg" usemap="#glowna" border="0" width="1024" height="710" alt="" />
<map name="glowna">
<area shape="rect" coords="57,231,279,273" href="status.html" onmouseover="onmouseover();" />
<area shape="rect" coords="38,298,260,339" href="czlonkowie.html" />
<area shape="rect" coords="32,368,254,411" href="historia.html" />
<area shape="rect" coords="64,442,287,484" href="kontakt.html" />
<area shape="rect" coords="138,509,346,543" href="epigenetyka" />
<area shape="rect" coords="255,566,448,595" href="dla_czlonkow" />
<area shape="rect" coords="601,570,754,599" href="forum.html" />
<area shape="rect" coords="665,527,818,557" href="linki.html" />
<area shape="rect" coords="718,472,942,515" href="zasoby.html" />
<area shape="rect" coords="748,408,970,450" href="badania.html" />
<area shape="rect" coords="759,347,981,391" href="dzialalnosc.html" />
<area shape="rect" coords="759,288,980,330" href="seminaria" />
<area shape="rect" coords="741,228,966,270" href="aktualnosci" />
<area shape="rect" coords="738,170,769,189" href="index.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
<area shape="rect" coords="792,169,824,191" href="eng.html" />
</map>
</body>
</html>

z góry dzięki
fuutott
Posty: 7
Rejestracja: czw cze 02, 2005 11:15 am

Re: bardzo proszę o pomoc chodzi o javę

Post autor: fuutott »

zmien nazwe funkcji na inna.
onmouseover wrzuca cie w petle i stad to przepelnienie stosu.
pozatym popatrz na googlach ktore objekty w explorerze nie obsluguja akcji.
ODPOWIEDZ