Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/07/2011, 23:31
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 19 años, 10 meses
Puntos: 834
Respuesta: Me pueden ayudar con popup flontante con boton cerrar wordpress

El reproductor, si es flash, debe estar definido con wmode transparent u opaque para poder colocarle un elemento div encima. Luego, el botón cerrar sólo debe cambiar el estilo a esa capa para hacerla desaparecer:
Código PHP:
<!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>
</
head>

<
body>
<
div style="position:absolute; width:200px; height:150px; background:#FC6; left: 192px; top: 116px; z-index:10"><div style="position:absolute;right:3px; top:3px; width:15px; line-height:15px; height:15px; border:1px solid #000;cursor:pointer; text-align:center" onclick="this.parentNode.style.display='none';">x</div></div>
<
object width="560" height="349"><param name="movie" value="http://www.youtube.com/v/9582NStUdqU?version=3&amp;hl=es_ES"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always">
  <
param name="wmode" value="opaque" />
</
param><embed src="http://www.youtube.com/v/9582NStUdqU?version=3&amp;hl=es_ES" width="560" height="349" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" movie="http://www.youtube.com/v/9582NStUdqU?version=3&amp;hl=es_ES" wmode="opaque"></embed></object>
</
body>
</
html

Última edición por Panino5001; 04/07/2011 a las 23:42