Añadido el 21/06/2003
A continuación os mostramos un sencillo javascript que esperamos este a la altura de vuestras espectativas.
Coloca esto en el de tu web:
<script>
function openpopup(){
//configura el archivo"seeyou.htm" y el tamaño deseado: width y height
window.open("seeyou.htm","","width=300,height=338")
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie("popped")=='){
openpopup()
document.cookie="popped=yes"
}
}
</script>
Y este otro codigo en el :
<body onunload="loadpopup()">
El sistema usa cookies, por lo que solo se mostrara una vez.