A second rotation banner???
5 posters
A second rotation banner???
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- New Member
- Posts : 10
Reputation : 1
Language : English
Re: A second rotation banner???
Hello
Please post your forum address
Please post your forum address
skouliki- Manager
-
Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece
Re: A second rotation banner???
The forum address is: https://wigan-peers.forumotion.com/
Fredm- New Member
- Posts : 10
Reputation : 1
Language : English
Re: A second rotation banner???
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 ?
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- Manager
-
Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece
Re: A second rotation banner???
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- New Member
- Posts : 10
Reputation : 1
Language : English
Re: A second rotation banner???
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
you can keep both and replace them every now and then ..its up to you
you can also merge them to one
skouliki- Manager
-
Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece
Re: A second rotation banner???
put this in you JS section:
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/
- 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- Hyperactive
-
Posts : 2101
Reputation : 91
Language : spanish
Location : SSF Admin
SLGray and TonnyKamper like this post
Re: A second rotation banner???
When your request is complete, please mark it as Solved.
skouliki- Manager
-
Posts : 12339
Reputation : 1519
Language : English,Greek
Location : Greece
TonnyKamper and Fredm like this post
Re: A second rotation banner???
I still need to find out how to play my second rotation banner.
Fredm- New Member
- Posts : 10
Reputation : 1
Language : English
Re: A second rotation banner???
Please make sure you have the following turned on.

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.
ACP >> Modules Tab >> HTML & JAVASCRIPT >> Javascript codes management >>

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.
Ape- Administrator
-
Posts : 17642
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha
Re: A second rotation 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.
mobdro apk
mobdro apk
Last edited by saddenaal564 on May 13th 2022, 7:47 am; edited 1 time in total
saddenaal564- New Member
- Posts : 1
Reputation : 1
Language : texas
Re: A second rotation banner???
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.
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.
Ape- Administrator
-
Posts : 17642
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha

» banner rotation
» Random Banner / banner rotation
» Banner Rotation Code?
» Banner Rotation is not appearing...?
» banner rotation not working on portal :(
» Random Banner / banner rotation
» Banner Rotation Code?
» Banner Rotation is not appearing...?
» banner rotation not working on portal :(
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum