Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/09/2008, 02:47
rsalvadores
 
Fecha de Ingreso: octubre-2003
Mensajes: 40
Antigüedad: 20 años, 7 meses
Puntos: 0
Respuesta: Filter y Overflow

Ya probe a cambiar el overflow al contenido una vez aplicado el filtro, pero no funciona, ya que no cambia la propiedad a hidden, pero se comporta como tal.

Lo del display inline-block lo he probado ahora, y tampoco me ha funcionado.

Muchas gracias de todas formas.

Pongo el codigo para que probeis:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
</head>
<script>
function trans(){
var divSele = document.getElementById('div1');
divSele.style.filter = "alpha(opacity=50)";
divSele.style.overflow='visible';
}
</script>
<body>

<div id="div1" style="position: absolute; left:270px;top:157px;height:100px;width:100px;over flow:visible;display:inline-block">
<img id="img1"src="images/cabecera_images/consorcio_btn.jpg" style="left: -20px; position: absolute; top: -7px; width: 154px; height: 154px;display:inline-block" alt=""/>
</div>

<div style="left: 4px; width: 100px; position: absolute; top: 400px; height: 100px; display: inline-block">
<input id="Button2" type="button" value="button" onclick="Javascript:trans()"/>
</div>
</body>
</html>