The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Banner Issues

View previous topic View next topic Go down

In progress Banner Issues

Post by Yoshii7734 on April 1st 2015, 12:03 pm

There's something up with our banner keeps switching. When I check the admin panel, the original banner that I've changed it to is still there. However, sometimes even the banner at the homepage is altered. If the banner at the homepage isn't changed, it's still changed at other pages.

Here are images attached for reference:
Admin panel Image:
Homepage Image:
Other page Image:
If the solution is by using CSS stylesheet codes, please be descriptive as to where I need to add the code. Like literally descriptive.

Here's the link to the forum for reference:

Yoshii7734
New Member

Posts : 14
Reputation : 1
Language : English

http://fairytailendless.forumotion.com/

Back to top Go down

In progress Re: Banner Issues

Post by Ange Tuteur on April 1st 2015, 5:35 pm

Hi @Yoshii7734,

Go to Administration Panel > Modules > JavaScript codes management

Have you installed the following script ?
Code:
$(function() {
  var banners = [
    'http://i38.servimg.com/u/f38/18/21/60/73/b010.png',
    'http://i38.servimg.com/u/f38/18/21/60/73/b110.png',
    'http://i38.servimg.com/u/f38/18/21/60/73/b210.png',
    'http://i38.servimg.com/u/f38/18/21/60/73/b310.png',
    'http://i38.servimg.com/u/f38/18/21/60/73/b410.png',
    'http://i38.servimg.com/u/f38/18/21/60/73/b510.png'
  ],

  logo = document.getElementById('i_logo') || document.getElementById('logo') || document.getElementById('pun-logo');
  (logo.tagName == 'IMG' ? logo : logo.firstChild).src = banners[Math.floor(Math.random() * banners.length)];
});
Tutorial : http://help.forumotion.com/t138806-randomize-your-forum-banner

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Banner Issues

Post by Itami on April 1st 2015, 5:55 pm

Hello, I'll be responding to this thread because Yoshi & I both work on a forum together. I installed that javascript for the random banner.

Itami
Forumember

Posts : 31
Reputation : 1
Language : English

http://fairytailendless.forumotion.com

Back to top Go down

In progress Re: Banner Issues

Post by Ange Tuteur on April 1st 2015, 5:59 pm

That is why the banner image is changing. ^^

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Banner Issues

Post by Yoshii7734 on April 1st 2015, 7:23 pm

Then that solves the mystery of a random banner. This matter is resolved.

The thread is complete and the matter is solved.

Yoshii7734
New Member

Posts : 14
Reputation : 1
Language : English

http://fairytailendless.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum