Forum Moderators: open
I put the following code with html file which make the window popup in front after 5 seconds if other windows over it, it is work fine with Netscape, but dosen't work for IE.
Anyone know how to make this functionality work for IE? I also tried to use window.focus().
Thanks you very much and have a good day!
<script language="JavaScript1.2" >
<!--
function TimerCallBack( ){
self.focus();
alert("The session will be expired ,please refresh your window.");
}
setTimeout("TimerCallBack( )",5000);
-->
</script>