| Depr. | Version |
|---|---|
| No | HTML 4 |
| IE8+ | FF3.5 | SA4+ | OP10+ | CH2+ |
|---|---|---|---|---|
| Full | None | Full | Full | Full |
Syntax
Description
For large media files that are
pulled into a page using the object element, it’s
preferable not to have what appears to be a large space where the content
should be, making the page appear, to all intents and purposes to, be
broken. The standby attribute allows the author to
display a message that will remain on screen only while the
object’s content is being loaded.
Example
Here, the
standby attribute is used to warn users of a
download delay:
<object data="Kuata-Joinup.jpg" width="4466" height="535"
standby="This may take a while. Go put the kettle on.">
</object>
Value
This attribute takes as its value a suitable warning message, as shown in the example.
Compatibility
| Internet Explorer | Firefox | Safari | Opera | Chrome | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 8.0 | 1.0 | 1.5 | 2.0 | 3.0 | 3.5 | 1.3 | 2.0 | 3.1 | 4.0 | 9.2 | 9.5 | 10.0 | 2.0 |
| None | None | None | Full | None | None | None | None | None | None | None | None | Full | None | None | Full | Full |
Poor support is
provided for this attribute. It’s probably better to use a JavaScript
technique to create a custom content-is-loading message in the style of
your web page or site, which can subsequently be replaced or removed once
the object’s content has
loaded.
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.