vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   gif NOT animated on Upload Window - Help Please! (https://vborg.vbsupport.ru/showthread.php?t=147485)

Red Spider 05-17-2007 09:20 PM

gif NOT animated on Upload Window - Help Please!
 
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 :

Code:

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


All times are GMT. The time now is 04:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00977 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete