|
I have launced a pop-up window by clicking on a button and minimised it.
When I again click on the button the minimised window must receive focus and be displayed.
How do I do this?
This is not happening with the code below
<html>
<head>
<title>
Pop-up Window
</title>
<script>
function dispPop()
{
features="height=400,width=500,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes,top=200,left=200";
window.open("pop.html","a b c;",features);
}
</script>
</head>
<body>
<input type="button" onclick="dispPop();" value="pop-up"/>
</body>
</html>
|
|
|
|
|
|
|
|