The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A second rotation banner???

5 posters

Go down

In progress A second rotation banner???

Post by Fredm May 9th 2022, 7:58 pm

I have created a rotation banner, following your instructions and it works well. Many thanks. However, I have also created a second rotation banner but I cannot see how to switch from banner 1 to banner 2. It always 'plays' banner one. I can shut it off but apart from deleting banner one I can't see how to 'play' banner 2. Can you advise please?
Fredm
Fredm
New Member

Posts : 10
Reputation : 1
Language : English

View user profile http://www.wigan-peers.forumotion.com

Back to top Go down

In progress Re: A second rotation banner???

Post by skouliki May 10th 2022, 2:30 am

Hello

Please post your forum address
skouliki
skouliki
Manager
Manager

Female Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: A second rotation banner???

Post by Fredm May 10th 2022, 10:55 am

Fredm
Fredm
New Member

Posts : 10
Reputation : 1
Language : English

View user profile http://www.wigan-peers.forumotion.com

Back to top Go down

In progress Re: A second rotation banner???

Post by skouliki May 10th 2022, 12:45 pm

thank you 

so i can understand better 
your forum can have one banner only (simple banner or rotated banner)
the second banner where do you want to place it ?
skouliki
skouliki
Manager
Manager

Female Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: A second rotation banner???

Post by Fredm May 10th 2022, 12:49 pm

I realise that I can show only one banner. I have built two rotational banners so do I have to delete one of them in order to show the other one or can I keep them both and pick the one to show. I hope this helps. Many thanks.
Fredm
Fredm
New Member

Posts : 10
Reputation : 1
Language : English

View user profile http://www.wigan-peers.forumotion.com

Back to top Go down

In progress Re: A second rotation banner???

Post by skouliki May 10th 2022, 12:51 pm

the place to insert the banner from the admin panel is for one image ur 

you can keep both and replace them every now and then ..its up to you 

you can also merge them to one
skouliki
skouliki
Manager
Manager

Female Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: A second rotation banner???

Post by jucarese May 10th 2022, 2:22 pm

put this in you JS section:
Code:
 $(function(){   
      var banner = new Array();
     
      banner[0] = "Image Url";
      banner[1] = "Image Url";
      banner[2] = "Image Url";
      //...You can add more

      $("img#i_logo, a#logo img, a#pun-logo img").attr("src", banner[Math.floor(Math.random() * banner.length)]); 
    });

That way you can put several images that will rotate.Every time you move through links the forums the banner changed image.

https://todasplataformas.foroactivo.com/
jucarese
jucarese
Hyperactive

Male Posts : 2101
Reputation : 91
Language : spanish
Location : SSF Admin

View user profile http://asistencia.foroactivo.com/u23082

SLGray and TonnyKamper like this post

Back to top Go down

In progress Re: A second rotation banner???

Post by skouliki May 11th 2022, 7:57 pm

When your request is complete, please mark it as Solved.
skouliki
skouliki
Manager
Manager

Female Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

TonnyKamper and Fredm like this post

Back to top Go down

In progress Re: A second rotation banner???

Post by Fredm May 11th 2022, 8:07 pm

I still need to find out how to play my second rotation banner.
Fredm
Fredm
New Member

Posts : 10
Reputation : 1
Language : English

View user profile http://www.wigan-peers.forumotion.com

Back to top Go down

In progress Re: A second rotation banner???

Post by Ape May 11th 2022, 9:51 pm

Please make sure you have the following turned on.

ACP >> Modules Tab >> HTML & JAVASCRIPT >> Javascript codes management >>
A second rotation banner??? Captu555

Make sure it set to yes then save now make sure you have the JavaScript set up right
in the code settings make sure its set to all In all the pages

then it should work.

If it still don't work please PM me a test account with admin powers and i will take a look for you.


A second rotation banner??? Left1212A second rotation banner??? Center11A second rotation banner??? Right112
A second rotation banner??? Ape_b110
A second rotation banner??? Keep_s10
A second rotation banner??? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 17642
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha

View user profile http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: A second rotation banner???

Post by saddenaal564 May 12th 2022, 1:05 pm

I have built two rotational banners so do I have to delete one of them in order to show the other one or can I keep them both and pick the one to show.

mobdro apk


Last edited by saddenaal564 on May 13th 2022, 7:47 am; edited 1 time in total
saddenaal564
saddenaal564
New Member

Posts : 1
Reputation : 1
Language : texas

View user profile https://help.forumotion.com/

Back to top Go down

In progress Re: A second rotation banner???

Post by Ape May 12th 2022, 1:47 pm

Hi @Fredm thank you for your PM with the test account.

I have been on your forum and to me it is working as it should.

I see you had 2 of the same codes running on the forum and they was both turned off.

If you look now the banner is changing.
its set to about 7 to 8 seconds and is not on a refresh. right now i am updating my laptop so i can't do a screen shot of what i see but it should be working now.

Please remember you can't have more then one code running the same thing (You can't have two banner codes set up only the one.

Advice:

Make all your banners the same size to stop your forum jumping around when the banner is changing.


A second rotation banner??? Left1212A second rotation banner??? Center11A second rotation banner??? Right112
A second rotation banner??? Ape_b110
A second rotation banner??? Keep_s10
A second rotation banner??? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 17642
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha

View user profile http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

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