A second rotation banner??? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
5 posters

    A second rotation banner???

    Fredm
    Fredm
    New Member


    Posts : 13
    Reputation : 1
    Language : English

    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?
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15271
    Reputation : 1701
    Language : English,Greek
    Location : Greece

    In progress Re: A second rotation banner???

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

    Hello

    Please post your forum address

    Fredm
    Fredm
    New Member


    Posts : 13
    Reputation : 1
    Language : English

    In progress Re: A second rotation banner???

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

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15271
    Reputation : 1701
    Language : English,Greek
    Location : Greece

    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 ?

    Fredm
    Fredm
    New Member


    Posts : 13
    Reputation : 1
    Language : English

    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.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15271
    Reputation : 1701
    Language : English,Greek
    Location : Greece

    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

    jucarese
    jucarese
    Hyperactive


    Male Posts : 2479
    Reputation : 117
    Language : spanish
    Location : SSF Admin

    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/

    SLGray and TonnyKamper like this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15271
    Reputation : 1701
    Language : English,Greek
    Location : Greece

    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.

    TonnyKamper and Fredm like this post

    Fredm
    Fredm
    New Member


    Posts : 13
    Reputation : 1
    Language : English

    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.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19213
    Reputation : 1998
    Language : fluent in dork / mumbojumbo & English haha

    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??? Ape1010
    saddenaal564
    saddenaal564
    New Member


    Posts : 1
    Reputation : 1
    Language : texas

    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
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19213
    Reputation : 1998
    Language : fluent in dork / mumbojumbo & English haha

    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??? Ape1010