Re: Desperately need an image to disappear when page is fully loaded



edfialk <edfialk@xxxxxxxxx> wrote in
news:1191529675.617484.5500@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:


uh, perhaps...

getElementById("loading").style.display="none"

... should go at the end of the function that sets up your maps and
fetches default values, etc etc rather than a seperate "onload"
function.

the page is doing what it should; after the document loads, the image
disappears. if you want the image to disappear after your *data* is
loaded, put the 'disappear' command at the end of the data-loading
function.

I've tried putting loading.style.display="none" at the end of the
function that fetches maps, etc. It still gets executed after values
are set, after images START to download, but long before they're
finished.

well you won't really be able to control that AFAIK. i mean, you can
possibly put your images into an array, then have an OnLoad function
iterate through the array to make sure the images are all present on the
page, and if so, issue the style-changing command (previously called the
disappear command by me)... otherwise, timeout a couple seconds and run
the function again


I'm completely unfamiliar with this 'disappear' command, and can't
seem to find much on it my first search through. Could you explain
how to use that for me?

i was just calling...

getElementById("loading").style.display="none"

.... a "disappear" command, there isn't really a disappear command.



.



Relevant Pages

  • Re: Desperately need an image to disappear when page is fully loaded
    ... put the 'disappear' command at the end of the data-loading ... function that fetches maps, etc. ... I'm completely unfamiliar with this 'disappear' command, ...
    (comp.lang.javascript)
  • Re: Development Time
    ... Wow, if you really want long build times, then call blddemo. ... > that i am not sure, but it is faster to build in the> command line rather do the same in the CEPB. ... >> If I make multiple images instead of single image, ... >> critical modules excluding applications] and App.bin,>> then repeatedly make ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Refactoring a Swing GUI
    ... "Harry Erwin" wrote in message ... > elements of the UI appear and disappear on command. ... > especially with the need to define event handlers for every detail. ...
    (comp.object)
  • Re: gphoto2 download command?
    ... Can someone give me the proper command to retrieve images from a camera ... I am having some problem with the latest version of gphoto2 (both FC5 and ...
    (Fedora)
  • Re: A photo program that does these functions in batch mode?
    ... > I meant by batch mode as in doing it all in one command in the GUI. ... > really do not want to this using scripts or going to the command prompt. ... to convert all TIFF images in the current folder to JPEG images, ...
    (rec.photo.digital)