I’ve got a page that has frames, and one of the frames has a Java applet (ProScroll.class) that is used to scroll text that is read from a file on a server. Sort of a “CNN scrolling headlines”. ProScroll got picked because it would read from an external file. Since I want updates to appear, I have a meta-tag refresh that reloads the page containing the applet at a set interval.
Usually things are OK, but in some cases, the applet doesn’t initialize properly and I end up with a gray bar instead of my scrolling text.
Is there any way to have some Javascript that can tell whether the applet loaded properly, and if it didn’t, try to refresh the page or do something to fix things?
This has to work for a generic applet – I don’t have control over the applet being used all the time.
Thanks.