Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/05/2012, 08:21
rex16
 
Fecha de Ingreso: agosto-2010
Mensajes: 215
Antigüedad: 13 años, 8 meses
Puntos: 6
Respuesta: evitar clic sobre una capa

mira, auque el z-index lo hago bien y funciona sin el flash, cuando agrego el flash en el div de fondo por algun motivo pasa alfrente de todo:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>

<style type="text/css">
#contenedor{
 position:absolute; 
top:0px; 
left:0px; 
z-index:1; 
width:600px;
height:600px; 
background-color:blue 
}

#superpuesto{
position:absolute; 
top:50px; 
left:50px; 
z-index:2; 
width:300px; 
height:300px; 
background-color:red
}
</style>

</head>

<body>

<div id="contenedor">
<embed src="http://www.poodwaddle.com/applets/worldclockes.swf" width="580" height="580" bgcolor="#ffffff" type="application/x-shockwave-flash" />
</div>

<div id="superpuesto">
<a href="http://www.google.com.co">google</a>
</div>

</body>
</html>