Logo animation

More
4 years 10 months ago #6630 by info565
info565 created the topic: Logo animation
Hello,
i want to use a .gif or .swf animation as logo.
The animation with the .gif file is working, but after I select an other menu item the .gif file is not reloading.

Do you have an idea how I can fix the template or the index file that the logo is reloading everytime after selecting an menu item?

Kind regards,

Basti :)

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #6652 by artur
artur replied the topic: Logo animation
Hello,
If you want use GIF. You need to edit 'tpl/blocks/navbar.php'.
Change :
<img src="<?php echo JURI::base(), $logo; ?>" alt="<?php if(!$logotext) { echo $sitename; } else { echo $logotext; }; ?>" border="0" />

To
<img src="<?php echo JURI::base(), $logo.'?'.time(); ?>" alt="<?php if(!$logotext) { echo $sitename; } else { echo $logotext; }; ?>" border="0" />
That should fix the problem :)

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #6662 by info565
info565 replied the topic: Logo animation
Thanks for your advice, that was what I looking for :)!

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.