Log in

View Full Version : Any way to get header image to change like slideshow


Mark4865
12-26-2013, 05:48 AM
Is there any way to get your header images to changes as a slideshow

I would like this to work in the forum and CMS

I use 4.2.0 P4

thanks in advance

TommyHara
12-26-2013, 02:51 PM
Finding a slider with Jquery from sharing sites and adding it to your header template in admincp page.

matthewd5
12-28-2013, 05:29 PM
Man, I started an ISP in 1989 and sold it and retired 16 years later and retired, that was 10 years ago and I'm totally lost by that jquery reply...

Matthew

ozzy47
12-28-2013, 05:34 PM
Yeah that was of no help, try this mod, https://vborg.vbsupport.ru/showthread.php?t=228130

Mark4865
12-30-2013, 05:39 AM
Thanks to those who replied appreciate the time

Yeah that was of no help, try this mod, https://vborg.vbsupport.ru/showthread.php?t=228130

Thanks I will read through this thread

NukedLT
01-02-2014, 02:05 PM
I've tried that php method to randomize our banner's backgrounds but I ran into issues with the images caching and then not changing without a hard refreshs.

Not sure if that's because we use a CDN but this simple script is what I ended up using;

http://www.landthieves.com/board/forum.php

<script type="text/javascript">
var images = ['xxx.jpg', 'xxx.jpg', 'xxx.jpg'];
$('#splash').css(
{'background': 'url(http://www.website.com/images/bkg/random/' + images[Math.floor(Math.random() * images.length)] + ')no-repeat scroll top / 100%'});</script>


filenames
css element
url to directory

Mark4865
01-03-2014, 08:40 AM
Thanks NukedLT appreciate the info