Tema: Div flotante
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/12/2008, 00:48
Avatar de Hamn
Hamn
 
Fecha de Ingreso: marzo-2008
Ubicación: Cali-Colombia
Mensajes: 212
Antigüedad: 16 años, 1 mes
Puntos: 1
Div flotante

Amigos tengo en mi portal una emisora en linea pero quiero ques emuestre dentro de un div flotante cuando el usuario ingrese y que se pueda cerrar
he viso algo aca http://www.terra.cl/ miren el div que se cierra solo en mi casoi no quiero que se cierre solo, si no cuando el usuario le de clic en cerrar

mi radio http://www.somoscali.com/radio/


hice algo aca http://www.solutecsi.com/alerta1.php hagan clic en radio

lo que quiero es que se muestre cuando se inicia la web y que no importe a donde vayas a que link y ella no se cierre como si fuese un gadget

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>Radio Somos Cali</title>
<script>
function cerrar(){
document.getElementById('msn').style.display = 'none';
}
</script>
<style type="text/css">
#msn { position: fixed; bottom: 10; right: 10;}
</style><script>
function Alternar(Seccion){
cosa=document.getElementById(Seccion).style;
cosa.display = (cosa.display=="none")?"":"none"
}
</script>
</head>

<body>
<div id="test" align="left" style="display:none"><iframe src="http://www.somoscali.com/radio/" width=300 height=221 align=top frameborder=0 marginwidth=0 marginheight=0 scrolling=no allowtransparency="true"></iframe>
</div>
<a href="#" style='text-decoration:none;' onClick="Alternar('test')"><strong>Radio</strong></a>
</body>
</html> 

No se si me explique bien creo fui algo enrredado pero se que alguien me entiende.