Hi… I asked a question yesterday, but I suspect I had not explained what I wanted to do in a short javascript. So I’m hoping to make it clear with a very short listing of what I want. This is a very short part of the program for a clearer idea —
<html>
<head>
<title>Open New Window</title>
</head>
<script language=”JavaScript1.2″>
function newWindow (newUrl)
{
window.open (newUrl,”mywindow”,”location=1,status=1,scrollbars=1,width=650,height=650″);
}
</script>
<body>
Owl==>><br>
<img src=owl.jpg height=30 width=30 hspace=20 onMouseDown=newWindow(‘owl.html’)><br>
Penguin ==>><br>
<img src=penguin.jpg height=30 width=30 hspace=20 onMouseDown=newWindow(‘penguin.html’)><br>
</body>
</html>
When the user goes onMouseDown on the thumbnail in the main page, it brings up a popup window of the same name as the jpg but with a much larger amount of data. I have everything worked out except that when going onMouseDown anywhere but manually closing the popup window by using the “X” close, the popup window goes BEHIND the main frame, and thus in the much larger program I have the user now cannot see that the popup window has not closed, and when going onMouseDown on another thumbnail the user does not see that the new popup replaced the old popup window, but he cannot see it, because it is now behind the main window. I’d like to know how to keep the popup window on top of the main window in all cases! So that it never goes behind the main window no matter what new onMouseDown action is taken, other than to manually close the popup window.
<fx: prays that this convoluted explanation is clear to someone far far better than I am>