frvfrvfrvfrv
Messages postés108Date d'inscriptionlundi 21 novembre 2005StatutMembreDernière intervention30 avril 2008
-
23 janv. 2006 à 22:45
frvfrvfrvfrv
Messages postés108Date d'inscriptionlundi 21 novembre 2005StatutMembreDernière intervention30 avril 2008
-
25 janv. 2006 à 10:42
Salut à tous,
j'ai essayer de faire que l'on puissent changer la map d'une image par le biai de deux autre images.
en activant une fonction,
mais je crois que je suis pas doué!
<
map name ="plan_t1"> // premiere definition de map , soit plan_t1!
<
area shape="rect" coords="31,32,84,82" href="p1.html">
<
area shape="rect" coords="44,229,93,275" href="p2.html">
<
area shape="rect" coords="198,188,241,233" href="p3.html">
</
map>
<
map name="plan_t2"> // deuxieme definition de map , soit plan_t2!
<
area shape="rect" coords="111,112,126,127" href="p1.html">
<
area shape="rect" coords="115,176,130,192" href="p2.html">
<
area shape="rect" coords="166,163,180,177" href="p3.html">
</
map>
// ci-dessous deux image utilisant leur map respective(imag temoin!)
<
div id="lamap1" style="position:absolute;left:20%; top:80%;"><img src="map1.gif" border="1" onclick="changemap1();"></div> // div pour selection de la map numero 1 soit plan_t1
<
div id="lamap2" style="position:absolute;left:40%; top:80%;"><img src="map2.gif" border="1" onclick="changemap2();"></div> // div pour selection de la map numero 1 soit plan_t2
</
body>
</
html>
j'ai essayer deux systeme qui me parraissaient correcte ! enfin , bon ! c'est pas le cas ! :[