vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Any way to get header image to change like slideshow (https://vborg.vbsupport.ru/showthread.php?t=306295)

Mark4865 12-26-2013 06:48 AM

Any way to get header image to change like slideshow
 
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 03:51 PM

Finding a slider with Jquery from sharing sites and adding it to your header template in admincp page.

matthewd5 12-28-2013 06: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 06:34 PM

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

Mark4865 12-30-2013 06:39 AM

Thanks to those who replied appreciate the time

Quote:

Originally Posted by ozzy47 (Post 2471018)
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 03: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

Code:

<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 09:40 AM

Thanks NukedLT appreciate the info


All times are GMT. The time now is 02:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00926 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete