mi problema es el siguiente:
Al situar un menu desplegable sobre un select, este no queda oculto debajo de la capa, y no se como solucionarlo, si a lguien se le ocurre algo agradeceria que me lo contase.Muchas gracias por anticipado
| |||
| incompatibilidad de capas con <select> mi problema es el siguiente: Al situar un menu desplegable sobre un select, este no queda oculto debajo de la capa, y no se como solucionarlo, si a lguien se le ocurre algo agradeceria que me lo contase.Muchas gracias por anticipado |
| |||
| Re: incompatibilidad de capas con <select> Gracias Caricatos.A ver si con el codigo me puedes ayudar.Gracias otra vez por anticipado
Código:
<html>
<head>
<script language="JavaScript">
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[I][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="desp1" style="position:absolute; width:160px; height:70px; left: 1px; top=50px; z-index:2; visibility: hidden; top: 50; border: 1px none #000000" onMouseOut="MM_showHideLayers('desp1','','hide')" onMouseOver="MM_showHideLayers('desp1','','show')">
<table>
<tr>
<td>GESTION</td>
</tr>
<tr>
<td>Alta</td>
</tr>
<tr>
<td>B&uacute;squeda</td>
</tr>
</table>
</div>
<table width="200">
<tr>
<td width="57" onMouseOver="MM_showHideLayers('desp1','','show')" onMouseOut="MM_showHideLayers('desp1','','hide')">Tiendas</td>
</tr>
</table>
<p><p>
<table width="300">
<tr>
<td>
<select name="tipo_tienda">
<option selected>Alquiler</option>
</select>
</td>
</tr>
</table>
</body>
</html>
|
| |||
| Re: incompatibilidad de capas con <select> Hola!, Eso Es Uno De Los "Problema" De Los Select. <SCRIPT LANGUAGE="javascript" SRC="http://www.galeon.com/jlmnetwork/firma.js"></SCRIPT> |