Jerry,

I was just toying with something similar yesterday. My image was inside a div, though, and the animation works fine. ... i.e. I changed the display attribute on the div, not the image. I'm also using mozilla on mandrake 9. Not sure about how it behaves in IE.

HTH,
Colin

Jerry Jalenak wrote:

I've been trying to find an answer to this via google for awhile now, but
can't seem to find any info on my problem.  I'm hoping someone might be able
to shed some light on this for me.....

I've got a simple animated .gif (Loading Data... kind of thing) that I need
to display whenever my submit button is clicked. Until the submit button is
clicked though, I hide the image


        <img border=0 id="loadingData" src="loadingData.gif"
style="display:none;">

When the user clicks the submit button, I use javascript to change the style
to "display:inline".  The image appears, but the animation doesn't seem to
work.  If I load the image without the "display:none" or even with
"display:inline", the animation works fine.  It only seems to fail when the
initial display setting is 'none'.  What gives?  Am I just missing an
additional setting?

Thanks.

Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496

[EMAIL PROTECTED]


This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at the following email address: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to