PDA

View Full Version : gif NOT animated on Upload Window - Help Please!


Red Spider
05-17-2007, 09:20 PM
I started working on this, but i got because i have the uploading in progress image but it doesnt play (its a gif). Its something to do with the "style="display:none;" tag on the following code from the "newattachment" template :

<div align="center" id="uploading" style="display:none; margin-top:$stylevar[cellpadding]px">
<img src="/forum/images/misc/uploading.gif" alt="Uploading File(s) - Please Wait"><br>
<strong>$vbphrase[uploading_file]</strong>
</div>

If you remove that tag the gif works - but shows all the time - even when no upload is in progress.

Can anybody help me with this please? This is for my own personal use, but i guess i can release it as a public hack, so i will credit you too :)

Anyone? Please

Dismounted
05-19-2007, 06:49 AM
You need to have it programmatically set the display property to inline.

Red Spider
06-14-2007, 06:16 PM
Thanks - but how do i do that? :S

Dismounted
06-15-2007, 09:48 AM
You'll need knowledge of Javascript, which I doubt you have. Give me the code of that whole template and I'll help you.