crossProbe onfailureHTML property.


cp.onfailureHTML
cp.onfailureHTML = string HTML
default value: empty.
Override: onfailureURL.

Populate this property with an alternative string of HTML to be drawn as output of buildObject when clients does not have the required plug-in. For instance, if you want an image to appear instead of the plug-in object HTML when crossProbe fails to find the plug-in, just state;
cp.onfailureHTML = '<IMG SRC="no_plug.gif">';

Note that this property cannot co-exist with the onfailureURL -method. Well, actually it can, but it'll be ignored because onfailureURL has higher priority.

! Note for developers with Opera in mind !
Since Opera of version 3.6 and below has bigtime problems with the crossProbe - event wrapper, the default action upon a probe-failure is an immediate execution of onfailureURL, if set. To disable this behavior and handle this manually with the "onloadAnd..." events, you must set disableDefaultsOpera to TRUE.
Reference Index.