Hello,
wondering if people can help me or if my way of thinking wont work. I am not a coder so i dont get to involved in writing, just learn as i go. Anyway
i have webpage 1 that refreshes every 5 mins. This page launches a popup.
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
</script>
</head>
<body önload="MM_openBrWindow('call_notice.html','CallWaiting','width=200,height=200')">"
No if this page is currently in the background the popup also appears in the background. i need this page to come to the foreground to notify the user that the pages has refreshed. Popup has the following code:
<body onblur="self.focus()" önload="self.focus()">
<p align="center" class="style1">You have a call. </p>
<p align="center" class="style1">Please close this window to continue.</p>
<p align="center" class="style1"> </p>
<form method="post">
<div align="center">
<input type="button" value="Continue"
önclick="window.close()">
</div>
</form>
I have tried set.focus seen some setforegroundwindow, but cant it to work. seen z-order but that doesnt make sens to me.
any one got any ideas on how i can do it? or has something that monitors windows titles and executes something?
any help would be great. i dont write from scratch but take bits here and there just to let you now what type of person you are dealing with.