Allan,
I have added loading.gif (the animated gif which I use as a popup background image while sizeable foreground content is being fetched and loaded) to the overlibmws.zip distribution:
I assume you are referring to the AJAX example:
with object/embed-based video content in which loading.gif is used. That has nothing specifically to do with AJAX content. For any object/embed elements which when loaded into to the popup foreground still involve fetching the movie/src, I encase the elements in a table data cell:
. . .
<td class="loading" align="center">
<object
. . .
<object
. . .
<embed
. . .
. . .
</embed>
</object>
</object>
</td>
. . .
which displays loading.gif as a background image via class-based CSS:
.loading {
background-image:url(loading.gif); background-repeat:no-repeat;
background-color:#000000;
}
background-image:url(loading.gif); background-repeat:no-repeat;
background-color:#000000;
}
Then, when the movie/src actually arrives and is placed in the foreground, it obscures the background image and appears to "replace" it.
Note that in the above example the loading.gif image is displayed after the table markup is received via AJAX. To have a loading message displayed in the popup during the initial fetch via AJAX, you can use procedures as in the alternative format example:
and / or discussed in the:
thread.
Fote
--
----- Original Message -----From: Allan RegenbaumTo: Foteos MacridesSent: Monday, April 16, 2007 9:25 AMSubject: "loading" with ajax callFoteos,
Can you tell me how to get the "loading" icon to display when we use the
ajax call to bring in a flash video ?
thanks !!