Bu işinizi görürmü bilemedim inceleyin.
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popupWin() {
text = "<html>n<head>n<title>Pop Pencere</title>n<body>n";
text += "<center>n<br>";
text += "<a href='[URL="http://www.hazirkod.com/"]http://www.hazirkod.com[/URL]' target='_blank'><h2>WebOldum.com</h2></a>";
text += "</center>n</body>n</html>n";
setTimeout('windowProp(text)', 3000); // delay 3 seconds before opening
}
function windowProp(text) {
newWindow = window.open('','newWin','width=300,height=100');
newWindow.document.write(text);
setTimeout('closeWin(newWindow)', 5000); // delay 5 seconds before closing
}
function closeWin(newWindow) {
newWindow.close(); // close small window and depart
}
// End -->
</script>
</HEAD>
<BODY onLoad="popupWin()">
<center>
Popup Pencere 3 saniye içinde açılacak 5 saniye içinde kapanacaktır.
</center>
</body>