Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/12/2007, 03:15
Pasape
 
Fecha de Ingreso: noviembre-2007
Ubicación: San Juan de Alicante
Mensajes: 78
Antigüedad: 17 años, 3 meses
Puntos: 7
Botonera tipo Acordeon JS

Buenos días a tod@s

Tengo un problema con una botonera que he hecho del tipo acordeon (3 botones, cuando pasas el ratón por uno de ellos se despliega un menu que hace que el boton de abajo se desplace hacia abajo)
El problema es que en IE no me funciona correctamente, y no entiendo por qué. Me han dicho que el IE da problemas con JS y hay que ponerle un parche o algo parecido para que el dichoso navegador lo lea correctamente. Os adjunto el código para ver si a vosotros se os ve bien y si me podeis hechar una mano.
Código:
<script  type="text/javascript">
<!--

function Sobre(k) {
 if (document.images) 
  eval('document.botonera_sec_ofertaformativa0'+k+'.src="botonera_sec_ofertaformativa-0'+k+'-r.png"');
}

function Fora(k) {
 if (document.images) 
  eval('document.botonera_sec_ofertaformativa0'+k+'.src="botonera_sec_ofertaformativa-0'+k+'.png"');
}

//-->
</script>
<style type="text/css" media="screen">
	@import url("./botonera_sec_ofertaformativa.css");
</style>
</head>
<body bgcolor="#ffffff" >
  
  <div class="menu vert">
    <ul>

      <li>
      </li>
    </ul>
    <ul>
      <li>
<img name="botonera_sec_ofertaformativa01" src="botonera_sec_ofertaformativa-01.png" width="161" height="45" border="0" id="botonera_sec_ofertaformativa-01" alt="" onmouseover="Sobre(1);return true;" onmouseout="Fora(1);return true;"  />
        <ul>
	  <li>
		<a href="lapedrera.html" target="_self">

			La&nbsp;pedrera&nbsp;(Bigastro)
		</a>
		<a href="casatapena.html" target="_self"  >
			Casa&nbsp;T&aacute;pena&nbsp;(Onil)
		</a>
		<a href="dunasguardamar.html" target="_self"  >
			Dunas&nbsp;de&nbsp;Guardamar
		</a>

		<a href="parqueelche.html" target="_self"  >
			Parque&nbsp;municipal&nbsp;Elche
		</a>
		<a href="bahia.html" target="_self">
			Bah&iacute;a&nbsp;Alicante
		</a>
		<a href="tranvia.html" target="_self" >
			Tranvia&nbsp;Ambiental
		</a>

		<a href="terranatura.html" target="_self" >
			Terra&nbsp;Natura
		</a>
		<a href="viajefosiles.htm" target="_self"  >
			Viaje&nbsp;mundo&nbsp;de&nbsp;los&nbsp;f&oacute;siles
		</a>
		<a href="descubreparques.html" target="_self"  >

			Descubre&nbsp;los&nbsp;parques
		</a>

	  </li>
	</ul>
      </li>
    </ul>
 <ul >
      <li><img name="botonera_sec_ofertaformativa02" src="botonera_sec_ofertaformativa-02.png" width="161" height="55" border="0" id="botonera_sec_ofertaformativa-02" alt="" onmouseover="Sobre(2);return true;" onmouseout="Fora(2);return true;"  />

        <ul>
	  <li>
	        <a href="benialtea.html" target="_self"  >
			Isla&nbsp;Benidorm&nbsp;-&nbsp;Altea
		</a>
		<a href="xixona.html" target="_self"  >
			Coves&nbsp;Canelobre
		</a>

		<a href="tabarca.html" target="_self" >
			Tabarca
		</a>
		<a href="ibionil.html" target="_self" >
			Ibi-Sierra&nbsp;Onil
		</a>
		<a href="guardamar.html" target="_self" >
			Guardamar
		</a>
		<a href="elche.html" target="_self" >

			Elche
		</a>
		<a href="rojales.html" target="_self" >
			Rojales&nbsp;-&nbsp;La&nbsp;Pedrera
		</a>
		<a href="terranaturamayores.html" target="_self" >
			Terra&nbsp;Natura
		</a>

		<a href="viajefosilesmayores.html" target="_self" >
			Viaje&nbsp;mundo&nbsp;de&nbsp;los&nbsp;f&oacute;siles
		</a>
	  </li>
        </ul>
      </li>
    </ul>

 <ul >
      <li><a href="reserva.html" target="_self" ><img name="botonera_sec_ofertaformativa03" src="botonera_sec_ofertaformativa-03.png" width="161" height="30" border="0" id="botonera_sec_ofertaformativa-03" alt="" onmouseover="Sobre(3);return true;" onmouseout="Fora(3);return true;" /></a>
      </li>
    </ul>
  </div>
  
</body>
</html>
Bueno gacias por vuestra atención y un saludo a tod@s