Newsgroup: it.comp.appl.macromedia
Titolo: Però Rispondete, eh! (PROBLEMA CON LAYERS -DreamWeaver-)

Ho creato un menů come segue (vedi a pič pagina), ma il bottone.jpg non
vuole saperne di comparire accanto a MiGhi, Gian-Piero, Alessandro...
Eppure, come potete vedere, le righe rigurdanti gli altri quattro link
(News, Carla, Marco, Chiara) della mappa sono identici...
Che devo fare???
Replay to: 
mi...@telebot.net
----------------------------------------------------------------------------
----
<HTML>
<HEAD>
 <TITLE>menu</TITLE>
<script language="JavaScript">
<!--
var old_bersaglio = "news";
function TMT_ToggleLayers(bersaglio) {
if (document.layers) {
document.layers[old_bersaglio].visibility = "hidden";
document.layers[bersaglio].visibility = "visible";
old_bersaglio = bersaglio;}
else {
eval("document.all."+old_bersaglio+".style.visibility = 'hidden'");
eval("document.all."+bersaglio+".style.visibility = 'visible'");
old_bersaglio = bersaglio;}
}
//-->
</script>
</HEAD>
<BODY bgcolor="#9DB9C8" scroll="no" text="#000000">
<div id="menu" style="position:absolute; width:200px; height:100px;
z-index:1; left: 10px; top: 10px; visibility: visible"><img
src="menu_index.jpg" width="200" height="337" border="0" usemap="#menu">
</div>
<div id="news" style="position:absolute; width:20px; height:20px; z-index:2;
left: 20px; top: 32px; visibility: visible"><img src="bottone.jpg"
width="20" height="20"></div>
<div id="MiGhi" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 76px; visibility: hidden"><img src="bottone.jpg"
width="20" height="20"></div>
<div id="GianPiero" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 120px; visibility: hidden"><img
src="bottone.jpg" width="20" height="20"></div>
<div id="carla" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 160px; visibility: hidden"><img
src="bottone.jpg" width="20" height="20"></div>
<div id="marco" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 209px; visibility: hidden"><img
src="bottone.jpg" width="20" height="20"></div>
<div id="chiara" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 253px; visibility: hidden"><img
src="bottone.jpg" width="20" height="20"></div>
<div id="alessandro" style="position:absolute; width:20px; height:20px;
z-index:2; left: 20px; top: 299px; visibility: hidden"><img
src="bottone.jpg" width="20" height="20"></div>
<map name="menu">
  <area shape="rect" coords="40,14,180,52" href="news.htm"
onClick="TMT_ToggleLayers('news')" target="body">
  <area shape="rect" coords="40,283,250,318" href="alex.htm"
onClick="TMT_ToggleLayers('alex')" target="body">
  <area shape="rect" coords="40,237,173,273" href="chiara.htm"
onClick="TMT_ToggleLayers('chiara')" target="body">
  <area shape="rect" coords="40,191,186,228" href="marco.htm"
onClick="TMT_ToggleLayers('marco')" target="body">
  <area shape="rect" coords="40,142,180,180" href="carla.htm"
onClick="TMT_ToggleLayers('carla')" target="body">
  <area shape="rect" coords="40,100,189,135" href="gp.htm"
onClick="TMT_ToggleLayers('gp')" target="body">
  <area shape="rect" coords="40,61,180,92" href="mighi.htm"
onClick="TMT_ToggleLayers('mighi')" target="body">
</map>
</BODY>
</HTML>

Se posti anche le immagini vedo che fare
Mike

<script language="JavaScript">
