So I am using Saurik theme with winterboard to do a rotating background. I am having trouble. With two images it works perfect, but with more the images run through the rotation once and then they start to not fade properly. They kinda fade and while fading to the next images a different will pop for a split second. After a few rotations its back in sync and then it goes out again.
Here is my code for the Wallpaper.html file for the theme. Can anyone see what Im doing wrong.
<script>
var images = ['Sam.png', 'Sam2.png', 'Sam3.png', 'Sam4.png', 'Sam5.png', 'Sam6.png', 'Sam7.png', 'Sam8.png'];
var index = 0;
var fade_in = one;
var fade_out = two;
var fade_in = three;
var fade_out = four;
var fade_in = five;
var fade_out = six;
var fade_in = seven;
var fade_out = eight;
I used a theme called Time of Day and modified the code to get 6 different backgrounds that rotate depending on the time of day. They don't fade in and out, but they are set to rotate every few hours.
Credit for the Time of Day theme goes to the creator, all I did was alter it to use the wallpapers of my choosing on the intervals I wanted.