Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Thanks for JS header image rotating

Old May 11, 2010, 04:02 PM
7 posts · Sep 2009
Is there a way to make it pick a random starter image when you load a page and then transition to another random image after the time is up, instead of the next one in the folder alphabetically?

Once I get that figured out I figure I'll re-implement the smooth image transition shown in this forum already although I think that's a great feature to be included in the theme itself down the road, perhaps.

edit: ack and with the slideshow disabled it doesn't work around the caching!

Last edited by Colorblinded; May 11, 2010 at 04:07 PM.
Old May 12, 2010, 06:35 AM
juggledad's Avatar
23,743 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
someone will have to code a random function into the java script. Are you willing to finance the time it takes?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old May 12, 2010, 01:42 PM
7 posts · Sep 2009
I've been tinkering with the existing code & combining the random image with the image fade. I've gotten that to work but I'm not using it right now because I can't figure out how to get the initial header image that appears to go away. When a page is loaded it would flash an image for less than a second then fade in to the slideshow and continue as normal from there.

Unfortunately I haven't cracked where that first image is coming from (it's not the same image each time and it doesn't seem to be a caching issue either browser or server side). Once I do I'd be happy to share my [hacked] code with anyone interested in setting up something similar. If you have any suggestions on where to look please let me know. I'll spend more time working on it later today if I am feeling better.

Even with just the stock 3.4.9 theme it seemed to be flickering that first image. One thing I may try is reinstalling the theme and then testing it again before reintroducing any modifications. I was doing a lot of wrenching under the hood last night and possibly messed up something that I don't recall doing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating images in header, different link for each image? PhunkzV2 Header configuration & styling 5 May 26, 2010 07:22 PM
Header rotating image only in one (title) page desaturated Header configuration & styling 3 Feb 24, 2010 10:03 AM
[SOLVED] header image rotating through phantom (white) images xuzi Header configuration & styling 4 Feb 9, 2010 05:31 PM
[SOLVED] Remove dashed line around rotating header image chiefbrody2001 Header configuration & styling 4 Nov 30, 2009 09:07 AM
rotating image header- more than one? ortixia Header configuration & styling 1 Nov 26, 2009 06:24 PM

All times are GMT -6. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.