struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <>
Subject Re: [OT] Animated .GIF's
Date Fri, 20 Feb 2004 21:33:23 GMT
I wouldn't use hide show by way of  css for this. Use an old fashioned 
image swap with the transparent gif. Unless you need the image 
positioning over the top of anything (if its a form you'll need to hide 
that to c/o z-indexing and forms).

In short don't hide-show but swap.

On 20 Feb 2004, at 19:28, 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
> 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: 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message