How to get the header images to rotate in a random fashion?
Hi,
I really appreciate the rotating header images. I am curious if it would be possible to rotate the images in a random order and to begin rotation with a random image, as by now it seems that it always begins with the same image and then follows the same order. Best regards ptuquoc |
You will need to edit the java script to shuffle the array of photos or the index to get the next picture. You will find the code in js.php in version 3.4.2
|
Dear Juggledad,
I found the code between lines 36 and 60. Unfortunately I don't have any knowledge in PHP programming. I am trying hard to either shuffle the HeaderImages array or to randomize the j counter, but neither of my attempts have been successful so far. I would be grateful if you could help me for this. Best regards ptuquoc |
If you want some custom coding, there is a section you can offer to hire someone to do it (http://forum.bytesforall.com/forumdisplay.php?f=22)
|
All times are GMT -6. The time now is 06:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.