A second rotation banner???
5 posters
Page 1 of 1
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?
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 ?
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.
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
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/
SLGray and TonnyKamper like this post
Re: A second rotation banner???
When your request is complete, please mark it as Solved.
TonnyKamper and Fredm like this post
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.
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
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.
Similar topics
» Banner Rotation delay time
» How can to make banners in rotation.
» Background Slideshow/Rotation?
» How to make a Clickable picture rotation
» "Randomize your forum banner" not displaying banner in correct position
» How can to make banners in rotation.
» Background Slideshow/Rotation?
» How to make a Clickable picture rotation
» "Randomize your forum banner" not displaying banner in correct position
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum