Click to See Complete Forum and Search --> : Netscape Messenger and animated gifs


levenyu
May 17th, 2002, 07:13 AM
My HTML code contains the following link:

<B>
<A HREF="mailto:me@myemail.com" onMouseOver="showB4('imgB4On'); return hint('E-mail me your feedback')"
onMouseOut="showB4('imgB4'); return hint()">
<img src='images/BEmailMe.gif' name="B4" BORDER=0 alt="E-mail me your feedback"></A>
</B>

When that link is clicked in Netscape 4.7x the browser calls its Messenger and opens new messenger's window. That stops all my animated gifs unless parent page is reloaded.

I've tried to do this:
<B>
<script language = "javascript">
function openMail() {
document.location.href="mailto:me@myemail.com";
document.location.reload();
}
</script>

<A HREF="javascript:openMail()" onMouseOver="showB4('imgB4On'); return hint('E-mail me your feedback')"
onMouseOut="showB4('imgB4'); return hint()">
<img src='images/BEmailMe.gif' name="B4" BORDER=0 alt="E-mail me your feedback"></A>
</B>

In this case animation will keep going, but ...
Netscape messenger window will not be active and will be hidden behind the parent page.

QUESTION: How can I switch focus back to the messenger window?

Thank you for your help in advance!