Skip to search.
overlibmws · DHTML Tooltip and Sticky Popup Library

Group Information

  • Members: 174
  • Category: JavaScript
  • Founded: Apr 19, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
Re: "loading" with ajax call   Message List  
Reply Message #900 of 1488 |
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
  . . .
  <embed
   . . .
  </embed>
 </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;
}
 
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 -----
Sent: Monday, April 16, 2007 9:25 AM
Subject: "loading" with ajax call

Foteos,

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 !!


Mon Apr 16, 2007 5:05 pm

oldgreeky
Offline Offline
Send Email Send Email

Message #900 of 1488 |
Expand Messages Author Sort by Date

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...
Foteos Macrides
oldgreeky Offline Send Email
Apr 16, 2007
5:05 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help