|
#1
Jun 8, 2010, 09:18 AM
|
|
[SOLVED] Ordering the rotating headers
Hi, I would like to specify the order that the header images load and rotate on my website. I tried to follow the instructions from this blog post to no avail. Here is a link to my site so you can see what I am trying to do- I am trying to get the colored evolution sequence from left to right.
Has anybody already found a solution for this? Thank you, Brian
|
#2
Jun 8, 2010, 09:34 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Name the images image1.jpg, image2.jpg etc
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Jun 8, 2010, 09:35 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
It looks like you don't have your images named sequentially. The should be something like 1-header.jpg, 2-header.jpg, 3-header.jpg, etc. in the order you want. You have lm1red.jpg, mh6.jpg, 6mh6.jpg. Thus the rotato doesn't know what order you want.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#4
Jun 8, 2010, 09:36 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Ooops... I was too slow.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#5
Jun 8, 2010, 11:17 AM
|
|
Thanks for the help guys, but even when I name them sequentially, there seems to be no reason to the order. But, the order does repeat itself. Very weird.
|
#6
Jun 8, 2010, 02:40 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
which settings for the header images are you using?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Jun 8, 2010, 05:47 PM
|
|
My header settings are-1 sec js rotation, 1 sec fade, no preload js, no clickable, 175 ht, top-center, no for the rest. Also, my images are named image01.gif-image13.gif.
|
#8
Jun 8, 2010, 08:03 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try turning off the fade code
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Jun 9, 2010, 05:23 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
do you know what server your site is running on? is is linux or something else?
could you try this. Edit bfa_m_find_in_dir.php (it's in the functions folder) and find line 36 (in version 3.5.1) which should be
HTML Code:
closedir( $dh );
and change it to
HTML Code:
sort($file);
closedir( $dh );
it seems that the php 'readdir' functions returns the files in the directory
Quote:
...in the order in which they are stored by the filesystem.
|
I'm thinking your server doesn't store them by name, maybe by date. Hopefully this will fix it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10
Jun 9, 2010, 07:40 AM
|
|
Thank you for the reply Juggledad, I tried your suggestion and edited the php file, but I could not get the files ordered. To see if the server was storing the photos chronologically, I deleted the files from the header folder and re-uploaded them one at a time. Still no order.
I found a solution that allows me a little more control- I made an animated gif in photoshop. The one drawback is that I can't seem to get the frames to fade in and out so I am still interested to a solution to this problem if someone comes across it. Thanks again, Brian
|
#11
Jun 9, 2010, 07:42 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
How about a slideshow plugin. I think some of them allow for random or sequential ordering.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
|