I am wondering if there is a better solution than looking for a
"onMinimize/OnMaximize" events.

Basically, I have a hidden <div> container with a <applet> tag that
was injected with a button click. Once injected the applet is auto-
activated.

If the page is minimized and restored, the applet is reactivated
again.  I'm trying to avoid this. This is only the behavior under IE,
not FF.

This is a simple java class.  I have code control over the java
applet. So it is possible for me to make it send an event to destroy
the HTML element, but I want to see if there is a simpler better way
maybe with jQuery.

In short,

1) when the page is first display, I have a play button to play wav
files.

2) The button will call:

   $("#divAudio).html(sAppletString);

to add the <applet> tag to the container and the wav file is played.

3) Under IE, if the page is minimized and then restored, IE will play
the existing <applet> again.

I'm trying to have it avoid this playing again.

Ideas?

--
HLS

Reply via email to