Falls du immer noch eine Lösung suchst, hier wäre ein Beispiel:
<html>
<head>
<script language="javascript">
function closeClick()
{
window.setTimeout('closePopup()',5000); //Timeout 5 sek.
}
function closePopup()
{
strName = "winPopup";
NS4 = (document.layers) ? 1 : 0;
NS5 = (document.getElementById) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
if(IE4 == 1)
{
NS5 = 0;
}
if (NS4)
{
document.layers[strName].visibility = "hide";
} // endif
if (NS5)
{
document.getElementById(strName).style.visibility = "hidden";
} // endelse
if (IE4)
{
document.all[strName].style.visibility = "hidden";
} // endelse
}
</script>
</head>
<body>
<div id="winPopup" name="winPopop">
<table border="1" bgcolor="#ffffff" width="100" height="100" cellpadding="0" cellpadding="0" style="border-Color: Grey;">
<tr>
<td height="1">FensterTitel <a href="JavaScript:closeClick();">close</a></td>
</tr>
<tr>
<td>Fensterinhalt</td>
</tr>
</table>
</div>
</body>
</html>
Gruss MSuter