hi to all, i have this code.
----script---
function popupWin() {
text = "<html>\n<head>\n<title>Splash Window</title>\n";
text += "<body>\n";
text += "<center>\n<br>";
text += "<a href='http://javascript.internet.com/new'
target='_blank'><h2>Polmap Encoding</h2></a>";
text += "</center>\n</body>\n</html>\n";
setTimeout('windowProp(text)', 2000);
}
function windowProp(text) {
newWindow = window.open
('','newWin','left=450,top=300,width=500,height=400');
newWindow.document.write(text);
setTimeout('closeWin(newWindow)', 7000);
}
function closeWin(newWindow) {
newWindow.close();
}
---html----
<body onLoad="popupWin()" bgcolor="white" text="black" link="blue"
vlink="purple" alink="red">
<p> sometext here...</p>
--end--
now my prob is how can i insert a script function inside that popupWin()?