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.

Banner in to slideshow problem!

3 posters

Go down

In progress Banner in to slideshow problem!

Post by hazzy September 17th 2022, 12:08 pm

Hi, I've been following this guide.
https://help.forumotion.com/t144239-turn-your-forum-banner-into-a-slide-show?highlight=BANNER+SLIDESHOW
My forum version: ModernBB
My site: shopbdy.forumotion.com

Problem is I want to make this slideshow become the header banner.
The image isn't coming up nicely and messed up all other script.

I've found this solution but it's only for randomize banner when refresh the page each time.
Code:
$(function() {
    var images = ['http://78.media.tumblr.com/6e79dd6dbfa7248e60a48ba9c36c4a7d/tumblr_nfvqpd8cgr1qzeylbo1_1280.gif', 'https://i.pinimg.com/originals/2e/35/95/2e359568d36c711612bdde426a28a51f.gif'];
    $('.headerbar').css({'background-image': 'url(' + images[Math.floor(Math.random() * images.length)] + ')'});
  });
hazzy
hazzy
New Member

Posts : 9
Reputation : 1
Language : vietnam

https://shopbdy.forumotion.com

Back to top Go down

In progress Re: Banner in to slideshow problem!

Post by Niko September 17th 2022, 12:12 pm

Dear @hazzy

can we see an example of what happens when the script is installed? Wink

Thanks :rose:
Niko
Niko
Helper
Helper

Male Posts : 3317
Reputation : 255
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

hazzy likes this post

Back to top Go down

In progress Example of the problem

Post by hazzy September 17th 2022, 12:15 pm

Here's the problem image example.
hazzy
hazzy
New Member

Posts : 9
Reputation : 1
Language : vietnam

https://shopbdy.forumotion.com

Back to top Go down

In progress Re: Banner in to slideshow problem!

Post by brandon_g September 17th 2022, 4:57 pm

Hello,

Is the problem that it is pushing the navigation buttons too far to the right causing them to bunch up like in your screenshot? Also, in the future if you could upload the image using the built-in image uploader (it is the icon with the photograph and floppy disk on it), and then insert it using the
Code:
[img][/img]
tags that would be preferred, as then we can view the image without needing to download it.

-Brandon


Banner in to slideshow problem!  Brando10
Remember to mark your topic Banner in to slideshow problem!  Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Banner in to slideshow problem!  Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

hazzy likes this post

Back to top Go down

In progress Re: Banner in to slideshow problem!

Post by hazzy September 17th 2022, 5:18 pm

Yes. The problem is exactly as you said. Because the slideshow wasnt acting as header banner so it's pushing my navigation bar buttons around.
hazzy
hazzy
New Member

Posts : 9
Reputation : 1
Language : vietnam

https://shopbdy.forumotion.com

Back to top Go down

Back to top

- Similar topics

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